admin.vm.Create: add commend about 'created-by-' tag
This commit is contained in:
parent
c13cf44e5e
commit
8196b2d5bf
@ -737,6 +737,7 @@ class QubesAdminAPI(qubes.api.AbstractQubesAPI):
|
|||||||
self.fire_event_for_permission(pool=pool, pools=pools, **kwargs)
|
self.fire_event_for_permission(pool=pool, pools=pools, **kwargs)
|
||||||
|
|
||||||
vm = self.app.add_new_vm(vm_class, **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))
|
vm.tags.add('created-by-' + str(self.src))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user