Skip to content

mw cloudvps volume attach

Releasev0.35.0 · cfeceb67

mw cloudvps volume attach <volume-id> [flags]

attach Cloud VPS volumes

-f, --filter <strings>
Filter output based on conditions provided
--format <string>
Format the specified output
-o, --output <string>
Output format (jq|json) Default: json.
--project <string>
Project name (otherwise uses cloud_vps.default_project or the selected profile)
--server <string>
Instance ID (required; attaches only, does not format or mount)
--timeout <duration>
Maximum time to wait for the requested state Default: 10m0s.
--wait
Wait for the requested volume state
--help
Help for this command
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved Cloud VPS credential profile (login defaults to the project name)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw cloudvps volume attach <volume-id> --project mwcli --server <instance-id> --wait
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.