aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPasha <pasha@member.fsf.org>2022-08-31 22:06:33 +0000
committerPasha <pasha@member.fsf.org>2022-08-31 22:06:33 +0000
commit97c640db16f3c50ed0512a2813209511a1fb6387 (patch)
treefcde0c772820d6588e8db34ca0638cf6a6ea97da
parentccebc0b548706cddbee185cec6e56e4f383ae16c (diff)
downloaddebian_openstack_installer-97c640db16f3c50ed0512a2813209511a1fb6387.tar.gz
debian_openstack_installer-97c640db16f3c50ed0512a2813209511a1fb6387.tar.bz2
systemctl enable glance-api added
-rw-r--r--openstack_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_setup.sh b/openstack_setup.sh
index 4843d9d..baada39 100644
--- a/openstack_setup.sh
+++ b/openstack_setup.sh
@@ -178,7 +178,7 @@ function setup_glance() {
sed "s/REPLACE_WITH_HOST/${OPENSTACK_HOST}/" ${CONFIG_DIR}/glance-api.conf > /etc/glance/glance-api.conf
su -s /bin/sh -c "glance-manage db_sync" glance
systemctl start glance-api
- systemctl restart glance-*
+ systemctl enable glance-api
#wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
#glance image-create --name "cirros" \
# --file cirros-0.4.0-x86_64-disk.img \