Merge "Migrates glance element from map-services to svc-map"
This commit is contained in:
commit
be4fd0c42f
@ -12,7 +12,7 @@ cp /opt/stack/glance/etc/schema-image.json /etc/glance/schema-image.json
|
||||
cp /opt/stack/glance/etc/glance-api-paste.ini /etc/glance/glance-api-paste.ini
|
||||
cp /opt/stack/glance/etc/glance-registry-paste.ini /etc/glance/glance-registry-paste.ini
|
||||
|
||||
os-svc-daemon -i "$GLANCE_VENV_DIR" glance-api glance glance-api
|
||||
os-svc-daemon -i "$GLANCE_VENV_DIR" glance-reg glance glance-registry
|
||||
os-svc-daemon -a -i "$GLANCE_VENV_DIR" glance-api glance glance-api
|
||||
os-svc-daemon -a -i "$GLANCE_VENV_DIR" glance-reg glance glance-registry
|
||||
|
||||
add-selinux-path-substitution /usr/bin $GLANCE_VENV_DIR/bin
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
os-svc-enable -n glance-api
|
||||
os-svc-enable -n glance-reg
|
||||
os-svc-enable -an glance-api
|
||||
os-svc-enable -an glance-reg
|
||||
|
||||
os-svc-restart -n glance-api
|
||||
os-svc-restart -n glance-reg
|
||||
os-svc-restart -an glance-api
|
||||
os-svc-restart -an glance-reg
|
||||
|
7
elements/glance/svc-map
Normal file
7
elements/glance/svc-map
Normal file
@ -0,0 +1,7 @@
|
||||
glance-api:
|
||||
default: openstack-glance-api
|
||||
debian: glance-api
|
||||
glance-reg:
|
||||
default: openstack-glance-registry
|
||||
debian: glance-reg
|
||||
|
Loading…
Reference in New Issue
Block a user