diff --git a/proxstar/vm.py b/proxstar/vm.py index 6468c11..289daa4 100644 --- a/proxstar/vm.py +++ b/proxstar/vm.py @@ -10,11 +10,13 @@ from proxstar.proxmox import connect_proxmox, get_free_vmid, get_node_least_mem, from proxstar.starrs import get_ip_for_mac from proxstar.util import lazy_property, default_repr + def check_in_gb(size): if size[-1] == 'M': size = f'{int(size.rstrip("M")) / 1000}G' return size + @default_repr class VM: def __init__(self, vmid):