Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/add-delete-on-termination-option. Description: There is the delete_on_termination option for attaching volume when creating a server but not for an existing server. Attach a volume when creating a server, the API contains 'block_device_mapping', such as: "block_device_mapping": [ { "volume_id": "<VOLUME_ID>", "device_name": "/dev/vdc", "delete_on_termination": "true" } ] It can contain 'delete_on_termination' option. But attach a volume to existing server, there is no option 'delete_on_termination', the POST data likes: { "volumeAttachment":{ "volumeId":"<VOLUME_ID>", "device":"/dev/sdb" } } Specification URL (additional information): None