Delete Volume on Instance Delete

Derek O keeffe derekokeeffe85 at yahoo.ie
Thu Sep 16 14:56:20 UTC 2021


Hi all,
I was able to set "Create new volume" to no by default on the launch instance page by adding the following to /etc/openstack-dashboard/local_settings.py
LAUNCH_INSTANCE_DEFAULTS ={       'create_volume': False,}

Is there anyway I can set "Delete Volume on Instance Delete" to yes by default should someone select to create a new volume when launching an instance. I tried the following but no luck
LAUNCH_INSTANCE_DEFAULTS ={       'create_volume': False,       'delete_on_termination': True}

Thanks for any help/info in advance.
Regards,Derek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210916/e4d381dc/attachment.htm>


More information about the openstack-discuss mailing list