Disable installing pypowervm by default
Add a configurable option to choose to install pypowervm from source, otherwise default to relying on it already being installed Change-Id: I15b85c8bcae163e762310efdabfdc26d72e2b629
This commit is contained in:
parent
d32d147112
commit
bf3d518670
@ -30,6 +30,9 @@ TENANT_VLAN_RANGE=1000:1999
|
||||
DISK_DRIVER=localdisk
|
||||
VOL_GRP_NAME=devstackvg
|
||||
|
||||
# Set to True to install the latest pypowervm from source
|
||||
INSTALL_PYPOWERVM=False
|
||||
|
||||
# Enable services (pvm-q-agt and pvm-ceilometer-acompute started by their plugins)
|
||||
enable_service n-novnc neutron q-svc
|
||||
disable_service n-net
|
||||
|
@ -34,6 +34,9 @@ TENANT_VLAN_RANGE=1000:1999
|
||||
DISK_DRIVER=localdisk
|
||||
VOL_GRP_NAME=devstackvg
|
||||
|
||||
# Set to True to install the latest pypowervm from source
|
||||
INSTALL_PYPOWERVM=False
|
||||
|
||||
NOVA_VNC_ENABLED=True
|
||||
NOVNCPROXY_BASE_URL="http://$SERVICE_HOST:6080/vnc_auto.html"
|
||||
VNCSERVER_LISTEN=$HOST_IP
|
||||
|
@ -69,7 +69,10 @@ function configure_nova_powervm {
|
||||
|
||||
# install_nova_powervm() - Install nova_powervm and necessary dependencies
|
||||
function install_nova_powervm {
|
||||
install_pypowervm
|
||||
if [[ "$INSTALL_PYPOWERVM" == "True" ]]; then
|
||||
echo_summary "Installing pypowervm"
|
||||
install_pypowervm
|
||||
fi
|
||||
|
||||
# Install the nova-powervm package
|
||||
setup_develop $NOVA_POWERVM_DIR
|
||||
@ -102,7 +105,7 @@ function cleanup_nova_powervm {
|
||||
if is_service_enabled nova-powervm; then
|
||||
if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
|
||||
# Install NovaLink if set
|
||||
if [[ "$INSTALL_NOVALINK" == "True" ]]; then
|
||||
if [[ "$INSTALL_NOVALINK" = "True" ]]; then
|
||||
echo_summary "Installing NovaLink"
|
||||
install_novalink
|
||||
fi
|
||||
|
@ -5,7 +5,8 @@
|
||||
enable_service nova-powervm
|
||||
|
||||
# NovaLink install/upgrade settings
|
||||
INSTALL_NOVALINK=${INSTALL_NOVALINK:-False}
|
||||
INSTALL_NOVALINK=$(trueorfalse False INSTALL_NOVALINK)
|
||||
INSTALL_PYPOWERVM=$(trueorfalse False INSTALL_PYPOWERVM)
|
||||
PVM_ADMIN_GROUP=${PVM_ADMIN_GROUP:-pvm_admin}
|
||||
|
||||
# Nova settings
|
||||
|
Loading…
Reference in New Issue
Block a user