Merge remote-tracking branch 'origin/pr/138'
* origin/pr/138: Fixed behavior of Create Standalone VM based on template
This commit is contained in:
commit
25586d972f
@ -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