From: Lars Wirzenius Date: Mon, 16 Jul 2012 14:05:11 +0000 (+0100) Subject: Use the usual cliapp.runcmd and not our bastard version X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=5cdd891950cf78731afee6cf18a4ce750a809c1a;p=forks%2Fvmdebootstrap.git Use the usual cliapp.runcmd and not our bastard version --- diff --git a/vmdebootstrap b/vmdebootstrap index e129b21..cef188f 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -354,7 +354,8 @@ append initrd=%(initrd)s root=UUID=%(uuid)s ro quiet %(kserial)s script = self.settings['customize'] if script: self.message('Running customize script %s' % script) - self.runcmd([script, rootdir]) + with open('/dev/tty', 'w') as tty: + cliapp.runcmd([script, rootdir], stdout=tty, stderr=tty) if __name__ == '__main__':