VolumeAttach

This will attach a pre-existing storage volume to the server.

knife ionoscloud volume attach VOLUME_ID [VOLUME_ID] (options)

Available options:

Required options:

  • datacenter_id

  • server_id

  • ionoscloud_username

  • ionoscloud_password

datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID
the ID of the data center (required)
server_id: --server-id SERVER_ID, -S SERVER_ID
the ID of the server (required)
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username (required)
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password (required)
extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH
path to the additional config file

Example

knife ionoscloud volume attach VOLUME_ID