Fixed behavior of Create Standalone VM based on template
private volume is now ignored fixes QubesOS/qubes-issues#4045
This commit is contained in:
parent
334fefe559
commit
bca68b24ba
@ -53,7 +53,8 @@ class CreateVMThread(QtCore.QThread):
|
|||||||
src_vm = self.app.default_template
|
src_vm = self.app.default_template
|
||||||
else:
|
else:
|
||||||
src_vm = self.template
|
src_vm = self.template
|
||||||
vm = self.app.clone_vm(src_vm, self.name, self.vmclass)
|
vm = self.app.clone_vm(src_vm, self.name, self.vmclass,
|
||||||
|
ignore_volumes=['private'])
|
||||||
vm.label = self.label
|
vm.label = self.label
|
||||||
for k, v in self.properties.items():
|
for k, v in self.properties.items():
|
||||||
setattr(vm, k, v)
|
setattr(vm, k, v)
|
||||||
|
Loading…
Reference in New Issue
Block a user