mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-14 22:11:51 +00:00
add description to every vm to show it is managed by proxstar
This commit is contained in:
parent
6d589f7bf8
commit
29873e2055
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ def create_vm(proxmox, starrs, user, name, cores, memory, disk, iso):
|
||||||
virtio0="ceph:{}".format(disk),
|
virtio0="ceph:{}".format(disk),
|
||||||
ide2="{},media=cdrom".format(iso),
|
ide2="{},media=cdrom".format(iso),
|
||||||
net0='virtio,bridge=vmbr0',
|
net0='virtio,bridge=vmbr0',
|
||||||
pool=user)
|
pool=user,
|
||||||
|
description='Managed by Proxstar')
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
mac = get_vm_mac(proxmox, vmid)
|
mac = get_vm_mac(proxmox, vmid)
|
||||||
return vmid, mac
|
return vmid, mac
|
||||||
|
|
Loading…
Reference in a new issue