diff options
author | 2018-05-14 16:31:41 +0000 | |
---|---|---|
committer | 2018-05-14 16:31:41 +0000 | |
commit | be66121f520203c231fcb7b776f7223dfe92c9f1 (patch) | |
tree | dabfed9370c8854d4b2adce104b1b0caa201c85e /lib/openstack | |
parent | fef9ae28be015084a543634d707973149a0cedb9 (diff) | |
parent | fc1df1ef91335428d53b4133111bab52d281ce2b (diff) |
Merge "Add skip_get_images and skip_install to OS"
Diffstat (limited to 'lib/openstack')
-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 |