Dont allow to change disable 'updateable' flag of standalone VM

This commit is contained in:
Marek Marczykowski 2011-03-18 22:19:03 -04:00
parent ee28ca10d4
commit c461835ea7

View File

@ -973,6 +973,12 @@ class QubesCowVm(QubesVm):
raise QubesException ("Change 'updateable' flag is not supported. Please use qvm-create.")
def set_nonupdateable(self):
if self.is_updateable():
return
raise QubesException ("Change 'updateable' flag is not supported. Please use qvm-create.")
def create_config_file(self):
conf_template = None
if self.type == "NetVM":