File: do-not-create-volume-by-default-when-launching-instance.patch

package info (click to toggle)
horizon 3%3A25.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,900 kB
  • sloc: python: 100,002; javascript: 49,478; sh: 453; makefile: 79
file content (21 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Do not create volume by default when launching instance
 By default, Horizon creates a volume and wants users to boot from it, which is
 not what a user should do by default. This patch restors sanity in the default
 behavior.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2021-07-14

Index: horizon/openstack_dashboard/defaults.py
===================================================================
--- horizon.orig/openstack_dashboard/defaults.py
+++ horizon/openstack_dashboard/defaults.py
@@ -244,7 +244,7 @@ INSTANCE_LOG_LENGTH = 35
 # properties found in the Launch Instance modal.
 LAUNCH_INSTANCE_DEFAULTS = {
     'config_drive': False,
-    'create_volume': True,
+    'create_volume': False,
     'hide_create_volume': False,
     'disable_image': False,
     'disable_instance_snapshot': False,