]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Run customize script with sh, so it can be in current directory.
authorLars Wirzenius <liw@liw.fi>
Sun, 15 May 2011 16:44:45 +0000 (17:44 +0100)
committerLars Wirzenius <liw@liw.fi>
Sun, 15 May 2011 16:44:45 +0000 (17:44 +0100)
vmdebootstrap

index 19238c7dab98deacb8d4aaa2bff42d3d9314d32f..39822cd13dc43f717c5e229376b9e9b2136a863f 100755 (executable)
@@ -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__':