From 70e064a50e578c0c6a376fff794d9b4b4114e31d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 15 May 2011 17:44:45 +0100 Subject: [PATCH] Run customize script with sh, so it can be in current directory. --- vmdebootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmdebootstrap b/vmdebootstrap index 19238c7..39822cd 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -275,7 +275,7 @@ append initrd=%(initrd)s root=UUID=%(uuid)s ro quiet script = self.settings['customize'] if script: self.message('Running customize script %s' % script) - self.runcmd([script, rootdir]) + self.runcmd(['sh', '-c', script, rootdir]) if __name__ == '__main__': -- 2.39.2