diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-16 15:05:11 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-16 15:05:11 +0100 |
commit | 5cdd891950cf78731afee6cf18a4ce750a809c1a (patch) | |
tree | eed185643fe3a235edfc57d21104e825eaec4c29 | |
parent | 684c745d5e289990e6c7c23d20d217619c52d73b (diff) | |
download | vmdebootstrap-5cdd891950cf78731afee6cf18a4ce750a809c1a.tar.gz |
Use the usual cliapp.runcmd and not our bastard version
-rwxr-xr-x | vmdebootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
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__': |