Don't try to set 'created-by-' tag when cloning VM
This tag can't be set from outside of qubesd.
This commit is contained in:
parent
a3e3dac6dc
commit
68ed06a200
@ -344,6 +344,8 @@ class QubesBase(qubesadmin.base.PropertyHolder):
|
||||
raise
|
||||
|
||||
for tag in src_vm.tags:
|
||||
if tag.startswith('created-by-'):
|
||||
continue
|
||||
try:
|
||||
dst_vm.tags.add(tag)
|
||||
except qubesadmin.exc.QubesException as e:
|
||||
|
Loading…
Reference in New Issue
Block a user