summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/openstack-cinder-setup
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/share/openstack/openstack-cinder-setup')
-rw-r--r--openstack/usr/share/openstack/openstack-cinder-setup5
1 files changed, 5 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/openstack-cinder-setup b/openstack/usr/share/openstack/openstack-cinder-setup
index cc427f76..01baf80d 100644
--- a/openstack/usr/share/openstack/openstack-cinder-setup
+++ b/openstack/usr/share/openstack/openstack-cinder-setup
@@ -129,4 +129,9 @@ ln -s "/etc/systemd/system/openstack-cinder-volume.service" \
ln -s "/etc/systemd/system/openstack-cinder-backup.service" \
"/etc/systemd/system/multi-user.target.wants/openstack-cinder-backup.service"
+# Run the target service required for attaching volumes
+depmod -a
+systemctl enable target
+systemctl start target
+
exit 0