mirror of
https://github.com/OVERLORD7F/SVMU.git
synced 2025-10-01 21:52:47 +03:00
LEEETS GOOOO <50 lines !!1
- Ping / API key checks are back! #13 - Changes in config import - Moved everything in main to menu loop because of reasons #2 - New function check_config - Currently selected pools / vms .. are shown in main menu #12 - Renamed a few functions
This commit is contained in:
@@ -55,7 +55,8 @@ def disk_edit_mode(base_url , api_key , data_pool_uuid , vm_uuids):
|
||||
console.print("[bold red]All attached vDisks has been deleted!")
|
||||
for z in vm_uuids: # only for creating disks
|
||||
domain_uuid = z.strip('\n')
|
||||
console.print(f"\n[bold underline yellow]Creating and attaching disk to VM {domain_uuid}")
|
||||
vm_name = get_vm_name(base_url, api_key, domain_uuid)
|
||||
console.print(f"\n[bold underline yellow]Creating and attaching disk to VM {vm_name}")
|
||||
domain_info = get_domain_info(base_url , api_key , domain_uuid)
|
||||
domain_all_content = get_domain_all_content(base_url , api_key , domain_uuid)
|
||||
if domain_info:
|
||||
|
Reference in New Issue
Block a user