dom0/core: preserve MAC setting on clone
This commit is contained in:
parent
7a3b9d0033
commit
b7b5260bd7
@ -937,7 +937,8 @@ class QubesVm(object):
|
|||||||
|
|
||||||
def get_clone_attrs(self):
|
def get_clone_attrs(self):
|
||||||
return ['kernel', 'uses_default_kernel', 'netvm_vm', 'uses_default_netvm', \
|
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):
|
def clone_attrs(self, src_vm):
|
||||||
for prop in self.get_clone_attrs():
|
for prop in self.get_clone_attrs():
|
||||||
|
Loading…
Reference in New Issue
Block a user