crusoe compute vms detach-disks
Detach disks from a VM.
Usage
crusoe compute vms detach-disks <VM name> [flags]
Flags
| Flag | Description |
|---|---|
--disk stringArray | [Required] Disk name or serial number to detach. Repeat for multiple disks. Alphanumeric characters, underscores and dashes are allowed |
-f, --format string | Output format. Supported formats: pretty, json (default: "pretty") |
-h, --help | Help for detach-disks |
--json | Output in json format. Shorthand for --format json |
--project-id string | Project ID. Optional if Project Name is set in CRUSOE_DEFAULT_PROJECT env variable or the config file |
--project-name string | Project Name. Optional if set in CRUSOE_DEFAULT_PROJECT env variable or the config file |
-y, --yes | Autoconfirm selection (skip confirmation prompt) |
Examples
Detach a single disk:
crusoe compute vms detach-disks my-vm --disk my-disk
Detach multiple disks:
crusoe compute vms detach-disks my-vm --disk disk1 --disk disk2