# metalcloud-cli vm reboot Restart a virtual machine ## Synopsis Restart a virtual machine by performing a graceful reboot. The VM will be shutdown gracefully and then started again. This is equivalent to performing a shutdown followed by a start operation. Arguments: vm_id Required. The unique identifier of the virtual machine to reboot. Prerequisites: - VM must be in 'running' state - User must have write permissions for the VM - VM configuration must be valid Examples: ## Reboot a VM by ID metalcloud-cli vm reboot 12345 ## Reboot multiple VMs sequentially for vm in 12345 12346 12347; do metalcloud-cli vm reboot $vm; done ``` metalcloud-cli vm reboot vm_id [flags] ``` ### Options ``` -h, --help help for reboot ``` ### 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 * [metalcloud-cli vm](/content/configuration/cli/metalcloud-cli_vm.md) - Manage virtual machines lifecycle and configuration #### Auto generated by spf13/cobra on 11-Aug-2025