diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-24 15:08:36 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:24 +0000 |
commit | c1343182fe01c004cf68ba8c4ebe428ecae2d15e (patch) | |
tree | a26c880efb1c5f35c233853a84fe291e080a4fc1 /openstack | |
parent | bb2cb0c060dc019777009c2da25e73ec3d7d9134 (diff) | |
download | definitions-c1343182fe01c004cf68ba8c4ebe428ecae2d15e.tar.gz |
FIXUPME: Add some comments to glance-setup script
Diffstat (limited to 'openstack')
-rw-r--r-- | openstack/usr/share/openstack/openstack-glance-setup | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/openstack-glance-setup b/openstack/usr/share/openstack/openstack-glance-setup index 13a0140f..8a40de02 100644 --- a/openstack/usr/share/openstack/openstack-glance-setup +++ b/openstack/usr/share/openstack/openstack-glance-setup @@ -43,11 +43,14 @@ if [ ! -e /var/lib/glance/glance.sqlite ]; then sudo -u glance glance-manage db_sync fi +# Remove the one-shot setup service rm /etc/systemd/system/multi-user.target.wants/openstack-glance-setup.service +# Start glance services systemctl start openstack-glance-api systemctl start openstack-glance-registry +# Create the links to run glance services when system start next times. ln -s "/etc/systemd/system/openstack-glance-api.service" \ "/etc/systemd/system/multi-user.target.wants/openstack-glance-api.service" |