diff options
-rwxr-xr-x | lib/openstack | 12 |
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 |