Save VM updatable state in qubes_vm_updateable
This commit is contained in:
parent
47fea4258c
commit
5001b7c9d7
@ -553,6 +553,11 @@ class QubesVm(object):
|
|||||||
"/local/domain/{0}/qubes_vm_type".format(xid),
|
"/local/domain/{0}/qubes_vm_type".format(xid),
|
||||||
self.type])
|
self.type])
|
||||||
|
|
||||||
|
retcode = subprocess.check_call ([
|
||||||
|
"/usr/bin/xenstore-write",
|
||||||
|
"/local/domain/{0}/qubes_vm_updateable".format(xid),
|
||||||
|
str(self.updateable)])
|
||||||
|
|
||||||
if self.is_netvm():
|
if self.is_netvm():
|
||||||
retcode = subprocess.check_call ([
|
retcode = subprocess.check_call ([
|
||||||
"/usr/bin/xenstore-write",
|
"/usr/bin/xenstore-write",
|
||||||
|
Loading…
Reference in New Issue
Block a user