core: include 'default_user' in cloned attributes
This commit is contained in:
parent
f839d46080
commit
1e2459c210
@ -1049,7 +1049,7 @@ class QubesVm(object):
|
|||||||
def get_clone_attrs(self):
|
def get_clone_attrs(self):
|
||||||
attrs = ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \
|
attrs = ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \
|
||||||
'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \
|
'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \
|
||||||
'_mac', 'pcidevs', 'include_in_backups', '_label']
|
'_mac', 'pcidevs', 'include_in_backups', '_label', 'default_user']
|
||||||
|
|
||||||
# fire hooks
|
# fire hooks
|
||||||
for hook in self.hooks_get_clone_attrs:
|
for hook in self.hooks_get_clone_attrs:
|
||||||
|
Loading…
Reference in New Issue
Block a user