]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Use the usual cliapp.runcmd and not our bastard version
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>
Mon, 16 Jul 2012 14:05:11 +0000 (15:05 +0100)
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>
Mon, 16 Jul 2012 14:05:11 +0000 (15:05 +0100)
vmdebootstrap

index e129b215362b864c0a84ee0781a574f06855ad32..cef188fd0fb77317557dba29b2ae2b8b79a949d4 100755 (executable)
@@ -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__':