From bca68b24baf6022faea113fa4c2f4ca25e7f23a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Sat, 8 Dec 2018 22:24:48 +0100 Subject: [PATCH] Fixed behavior of Create Standalone VM based on template private volume is now ignored fixes QubesOS/qubes-issues#4045 --- qubesmanager/create_new_vm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubesmanager/create_new_vm.py b/qubesmanager/create_new_vm.py index 5949833..1793a82 100644 --- a/qubesmanager/create_new_vm.py +++ b/qubesmanager/create_new_vm.py @@ -53,7 +53,8 @@ class CreateVMThread(QtCore.QThread): src_vm = self.app.default_template else: 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 for k, v in self.properties.items(): setattr(vm, k, v)