From 5cdd891950cf78731afee6cf18a4ce750a809c1a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 16 Jul 2012 15:05:11 +0100 Subject: [PATCH] Use the usual cliapp.runcmd and not our bastard version --- vmdebootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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__': -- 2.39.5