aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-14 16:31:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-14 16:31:41 +0000
commitbe66121f520203c231fcb7b776f7223dfe92c9f1 (patch)
treedabfed9370c8854d4b2adce104b1b0caa201c85e
parentfef9ae28be015084a543634d707973149a0cedb9 (diff)
parentfc1df1ef91335428d53b4133111bab52d281ce2b (diff)
Merge "Add skip_get_images and skip_install to OS"
-rwxr-xr-xlib/openstack12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/openstack b/lib/openstack
index 38a38a6..53e474d 100755
--- a/lib/openstack
+++ b/lib/openstack
@@ -73,10 +73,14 @@ function install_openstack {
function _install_kolla_ansible {
install_dependencies
configure_deploy ${1:-"192.168.53.0"} "True"
- get_openstack_images
- kolla-ansible deploy -i $kolla_inventory
- kolla-ansible post-deploy
- echo "source /etc/kolla/admin-openrc.sh" >> ${HOME}/.bashrc
+ if [[ "$skip_get_images" == "False" ]]; then
+ get_openstack_images
+ fi
+ if [[ "$skip_install" == "False" ]]; then
+ kolla-ansible deploy -i $kolla_inventory
+ kolla-ansible post-deploy
+ echo "source /etc/kolla/admin-openrc.sh" >> ${HOME}/.bashrc
+ fi
}
# _install_openstack_helm() - Function that installs OpenStack services thru OpenStack-Helm project