metalcloud-cli vm start
Power on a virtual machine
Synopsis
Section titled “Synopsis”Start (power on) a virtual machine. The VM will boot up and become available for connections. The operation is asynchronous - the command returns immediately while the VM powers on in the background.
Arguments: vm_id Required. The unique identifier of the virtual machine to start.
Prerequisites:
- VM must be in ‘stopped’ or ‘suspended’ state
- Valid VM configuration must exist
- Sufficient infrastructure resources must be available
Examples:
Start a VM by ID
Section titled “Start a VM by ID”metalcloud-cli vm start 12345
Start multiple VMs (using shell loops)
Section titled “Start multiple VMs (using shell loops)”for vm in 12345 12346 12347; do metalcloud-cli vm start $vm; done
metalcloud-cli vm start vm_id [flags]Options
Section titled “Options” -h, --help help for startOptions inherited from parent commands
Section titled “Options inherited from parent commands” -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO")SEE ALSO
Section titled “SEE ALSO”- metalcloud-cli vm - Manage virtual machines lifecycle and configuration