Make unstack.sh more like stack.sh
unstack.sh and stack.sh both have to "configure projects", but the code was different. This change makes it so the 2 sections of the files are the same. Change-Id: Ia06f8bbfbe2a6e87fb406e34e13a39bd7fa9e5af
This commit is contained in:
parent
5eec5b6b80
commit
0049c0c434
@ -28,8 +28,6 @@
|
|||||||
XTRACE=$(set +o | grep xtrace)
|
XTRACE=$(set +o | grep xtrace)
|
||||||
set +o xtrace
|
set +o xtrace
|
||||||
|
|
||||||
source $TOP_DIR/lib/tls
|
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
# --------
|
# --------
|
||||||
|
|
||||||
|
6
stack.sh
6
stack.sh
@ -305,9 +305,13 @@ rm -f $SSL_BUNDLE_FILE
|
|||||||
# Configure Projects
|
# Configure Projects
|
||||||
# ==================
|
# ==================
|
||||||
|
|
||||||
# Source project function libraries
|
# Import apache functions
|
||||||
source $TOP_DIR/lib/apache
|
source $TOP_DIR/lib/apache
|
||||||
|
|
||||||
|
# Import TLS functions
|
||||||
source $TOP_DIR/lib/tls
|
source $TOP_DIR/lib/tls
|
||||||
|
|
||||||
|
# Source project function libraries
|
||||||
source $TOP_DIR/lib/infra
|
source $TOP_DIR/lib/infra
|
||||||
source $TOP_DIR/lib/oslo
|
source $TOP_DIR/lib/oslo
|
||||||
source $TOP_DIR/lib/stackforge
|
source $TOP_DIR/lib/stackforge
|
||||||
|
23
unstack.sh
23
unstack.sh
@ -30,20 +30,31 @@ if [[ $EUID -eq 0 ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Configure Projects
|
||||||
|
# ==================
|
||||||
|
|
||||||
# Import apache functions
|
# Import apache functions
|
||||||
source $TOP_DIR/lib/apache
|
source $TOP_DIR/lib/apache
|
||||||
|
|
||||||
# Get project function libraries
|
# Import TLS functions
|
||||||
source $TOP_DIR/lib/baremetal
|
source $TOP_DIR/lib/tls
|
||||||
source $TOP_DIR/lib/ceilometer
|
|
||||||
source $TOP_DIR/lib/cinder
|
# Source project function libraries
|
||||||
|
source $TOP_DIR/lib/infra
|
||||||
|
source $TOP_DIR/lib/oslo
|
||||||
|
source $TOP_DIR/lib/stackforge
|
||||||
|
source $TOP_DIR/lib/horizon
|
||||||
source $TOP_DIR/lib/keystone
|
source $TOP_DIR/lib/keystone
|
||||||
source $TOP_DIR/lib/glance
|
source $TOP_DIR/lib/glance
|
||||||
source $TOP_DIR/lib/nova
|
source $TOP_DIR/lib/nova
|
||||||
source $TOP_DIR/lib/heat
|
source $TOP_DIR/lib/cinder
|
||||||
source $TOP_DIR/lib/horizon
|
|
||||||
source $TOP_DIR/lib/swift
|
source $TOP_DIR/lib/swift
|
||||||
|
source $TOP_DIR/lib/ceilometer
|
||||||
|
source $TOP_DIR/lib/heat
|
||||||
source $TOP_DIR/lib/neutron
|
source $TOP_DIR/lib/neutron
|
||||||
|
source $TOP_DIR/lib/baremetal
|
||||||
|
source $TOP_DIR/lib/ldap
|
||||||
source $TOP_DIR/lib/ironic
|
source $TOP_DIR/lib/ironic
|
||||||
source $TOP_DIR/lib/trove
|
source $TOP_DIR/lib/trove
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user