Dont allow to change disable 'updateable' flag of standalone VM
This commit is contained in:
parent
ee28ca10d4
commit
c461835ea7
@ -973,6 +973,12 @@ class QubesCowVm(QubesVm):
|
|||||||
|
|
||||||
raise QubesException ("Change 'updateable' flag is not supported. Please use qvm-create.")
|
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):
|
def create_config_file(self):
|
||||||
conf_template = None
|
conf_template = None
|
||||||
if self.type == "NetVM":
|
if self.type == "NetVM":
|
||||||
|
Loading…
Reference in New Issue
Block a user