add description to every vm to show it is managed by proxstar

This commit is contained in:
Jordan Rodgers 2017-12-10 02:16:27 -05:00
parent 6d589f7bf8
commit 29873e2055

View file

@ -194,7 +194,8 @@ def create_vm(proxmox, starrs, user, name, cores, memory, disk, iso):
virtio0="ceph:{}".format(disk),
ide2="{},media=cdrom".format(iso),
net0='virtio,bridge=vmbr0',
pool=user)
pool=user,
description='Managed by Proxstar')
time.sleep(3)
mac = get_vm_mac(proxmox, vmid)
return vmid, mac