How can I find out the address of UUID when it is powered off? I need to edit some custom option by command “virsh edit vm_name” before power on.
You can get the VM UUID from acli
acli vm.list
<You can get the VM UUID from acli
acli vm.list
Thank you for reply. now I can see UUID
but how can I use command “virsh edit” on CVM
or other commands that are the same as on the host(AHV)
now I can use “virsh edit” on AHV but VMs must power on
I need to use this command with powerd off VMs
because I need to edit some feature on that VMs
<You can get the VM UUID from acli
acli vm.list
Thank you for reply. now I can see UUID
but how can I use command “virsh edit” on CVM
or other commands that are the same as on the host(AHV)
now I can use “virsh edit” on AHV but VMs must power on
I need to use this command with powerd off VMs
because I need to edit some feature on that VMs
You have to use vm.update
<acropolis> vm.update vm_list [agent_vm="{ true | false }" ] [annotation="annotation" ] [cbr_not_capable_reason="cbr_not_capable_reason" ] [cpu_passthrough="{ true | false }" ] [disable_branding="{ true | false }" ] [enable_metrics="{ true | false }" ] [extra_flags="extra_flags" ] [ha_priority="ha_priority" ] [hardware_virtualization="{ true | false }" ] [hwclock_timezone="hwclock_timezone" ] [machine_type="machine_type" ] [memory="memory" ] [name="name" ] [num_cores_per_vcpu="num_cores_per_vcpu" ] [num_threads_per_core="num_threads_per_core" ] [num_vcpus="num_vcpus" ] [num_vnuma_nodes="num_vnuma_nodes" ] [nvram_container="nvram_container" ] [secure_boot="{ true | false }" ] [uefi_boot="{ true | false }" ] [vcpu_hard_pin="{ true | false }" ] [vga_console="{ true | false }" ] [windows_credential_guard="{ true | false }" ]
You can refernece ACLI Command Guide for further information.
https://portal.nutanix.com/page/documents/details?targetId=Command-Ref-AOS-v6_8:Command-Ref-AOS-v6_8
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.