Browse Source

Don't try to set 'created-by-' tag when cloning VM

This tag can't be set from outside of qubesd.
Marek Marczykowski-Górecki 6 years ago
parent
commit
68ed06a200
1 changed files with 2 additions and 0 deletions
  1. 2 0
      qubesadmin/app.py

+ 2 - 0
qubesadmin/app.py

@@ -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: