Browse code

Merge "Switch to mkisofs for openSUSE distributions"

Zuul authored on 2018/04/13 20:17:04
Showing 4 changed files
... ...
@@ -11,7 +11,6 @@ graphviz # docs
11 11
 iputils
12 12
 libffi-devel  # pyOpenSSL
13 13
 libjpeg8-devel # Pillow 3.0.0
14
-libmysqlclient-devel # MySQL-python
15 14
 libopenssl-devel # to rebuild pyOpenSSL if needed
16 15
 libxslt-devel  # lxml
17 16
 lsof # useful when debugging
... ...
@@ -1,7 +1,7 @@
1 1
 cryptsetup
2
-genisoimage
3 2
 libosinfo
4 3
 lvm2
4
+mkisofs
5 5
 open-iscsi
6 6
 sg3_utils
7 7
 # Stuff for diablo volumes
... ...
@@ -4,7 +4,6 @@ dnsmasq
4 4
 dnsmasq-utils # dist:opensuse-12.3,opensuse-13.1
5 5
 ebtables
6 6
 gawk
7
-genisoimage # required for config_drive
8 7
 iptables
9 8
 iputils
10 9
 kpartx
... ...
@@ -12,6 +11,7 @@ kvm # NOPRIME
12 12
 libvirt # NOPRIME
13 13
 libvirt-python # NOPRIME
14 14
 mariadb # NOPRIME
15
+mkisofs # required for config_drive
15 16
 parted
16 17
 polkit
17 18
 # qemu as fallback if kvm cannot be used
... ...
@@ -506,6 +506,12 @@ function create_nova_conf {
506 506
     if [ "$FORCE_CONFIG_DRIVE" != "False" ]; then
507 507
         iniset $NOVA_CONF DEFAULT force_config_drive "$FORCE_CONFIG_DRIVE"
508 508
     fi
509
+
510
+    # nova defaults to genisoimage but only mkisofs is available for 15.0+
511
+    if is_suse; then
512
+        iniset $NOVA_CONF DEFAULT mkisofs_cmd /usr/bin/mkisofs
513
+    fi
514
+
509 515
     # Format logging
510 516
     setup_logging $NOVA_CONF
511 517