From: Evan Broder Date: Sun, 19 Oct 2008 18:21:09 +0000 (-0400) Subject: Don't try to boot up the machine if we're running the autoinstaller X-Git-Tag: sipb-xen-www/3.15~1 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/fd7383b857234046a5a18b7f77dfdc7476b80c08?hp=4dcbcf9d402566f7b02241c7ddd4e4f34ee0ca6b Don't try to boot up the machine if we're running the autoinstaller svn path=/trunk/packages/sipb-xen-www/; revision=1140 --- diff --git a/code/controls.py b/code/controls.py index 9f5bc48..d21eb7a 100644 --- a/code/controls.py +++ b/code/controls.py @@ -144,8 +144,9 @@ def createVm(username, state, owner, contact, name, description, memory, disksiz makeDisks(machine) if autoinstall: lvinstall(machine, autoinstall) - # tell it to boot with cdrom - bootMachine(machine, cdrom) + else: + # tell it to boot with cdrom + bootMachine(machine, cdrom) return machine def getList():