diff options
-rw-r--r-- | openstack-cinder.configure | 3 | ||||
-rw-r--r-- | openstack/usr/share/openstack/openstack-cinder-configure-backends | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openstack-cinder.configure b/openstack-cinder.configure index 3def73ac..7e252bf7 100644 --- a/openstack-cinder.configure +++ b/openstack-cinder.configure @@ -46,9 +46,6 @@ sed -f "$ROOT"/etc/openstack-cinder-setup.sed -i \ ln -sf "/usr/lib/systemd/system/lvm2-lvmetad.service" \ "$ROOT/usr/lib/systemd/system/multi-user.target.wants/lvm2-lvmetad.service" -ln -sf "/usr/lib/systemd/system/iscsid.service" \ - "$ROOT/usr/lib/systemd/system/multi-user.target.wants/iscsid.service" - ln -sf "/etc/systemd/system/openstack-cinder-setup.service" \ "$ROOT/etc/systemd/system/multi-user.target.wants/openstack-cinder-setup.service" diff --git a/openstack/usr/share/openstack/openstack-cinder-configure-backends b/openstack/usr/share/openstack/openstack-cinder-configure-backends index 487c58c0..bd65076a 100644 --- a/openstack/usr/share/openstack/openstack-cinder-configure-backends +++ b/openstack/usr/share/openstack/openstack-cinder-configure-backends @@ -26,6 +26,9 @@ sed -i 's|# filter = \[ \"a\/\.\*\/\" \]|filter = \[ \"a\/sdb\/\", \"r\/\.\*\/\" mkdir -p "$DESTDIR"/etc/iscsi echo "InitiatorName=$(iscsi-iname)" > /etc/iscsi/initiatorname.iscsi +systemctl enable iscsid.service +systemctl start iscsid.service + # Run the target service required for attaching volumes depmod -a systemctl enable target.service |