]> git.siccegge.de Git - forks/vmdebootstrap.git/commitdiff
Check for extlinux, not no-extlinux, fixes crash
authorTollef Fog Heen <tfheen@fastly.com>
Mon, 7 Apr 2014 08:17:11 +0000 (10:17 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 7 Apr 2014 08:18:25 +0000 (10:18 +0200)
vmdebootstrap

index 77da850c1b2a627ca06d7bd1bbf4970dfa515d8e..3344a59b41308e2d2cbcbf3a36f0b2293cd01974 100755 (executable)
@@ -146,7 +146,7 @@ class VmDebootstrap(cliapp.Application):
             self.setup_networking(rootdir)
             self.customize(rootdir)
             if self.settings['image']:
-                if not self.settings['no-extlinux']:
+                if self.settings['extlinux']:
                     self.install_extlinux(rootdev, rootdir)
                 self.optimize_image(rootdir)