From b7b5260bd76735614e77ead44630ef816713f290 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 2 Mar 2012 16:29:56 +0100 Subject: [PATCH] dom0/core: preserve MAC setting on clone --- dom0/qvm-core/qubes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 92d09164..4c56cf2d 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -937,7 +937,8 @@ class QubesVm(object): def get_clone_attrs(self): return ['kernel', 'uses_default_kernel', 'netvm_vm', 'uses_default_netvm', \ - 'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus'] + 'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \ + '_mac'] def clone_attrs(self, src_vm): for prop in self.get_clone_attrs():