Skip to content

Commit

Permalink
admin.vm.Create: add commend about 'created-by-' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 20, 2017
1 parent c13cf44 commit 8196b2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qubes/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ def _vm_create(self, vm_type, allow_pool=False, untrusted_payload=None):
self.fire_event_for_permission(pool=pool, pools=pools, **kwargs)

vm = self.app.add_new_vm(vm_class, **kwargs)
# TODO: move this to extension (in race-free fashion)
vm.tags.add('created-by-' + str(self.src))

try:
Expand Down

0 comments on commit 8196b2d

Please sign in to comment.