diff options
author | Victor Morales <victor.morales@intel.com> | 2018-10-22 08:40:21 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-10-22 08:44:39 -0700 |
commit | 7ccc899a3181a5370962fcdbe2ea743afb734976 (patch) | |
tree | 7e52382aadd5fb0ed4e34fea3ff89be231c69a3c | |
parent | 6633028e4e5177ad18227eb020fe022f3ede16d1 (diff) |
Fix non-existing all.yml file
The all.yml file contains global configuration used by kubespray.
During the initial execution this file doesn't exist and its
execution can raise an error. This change fix that scenario.
Change-Id: I1f0c0134ccbc439b6a6c3e26c993cf498bb8dbf8
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301
-rwxr-xr-x | vagrant/installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/installer.sh b/vagrant/installer.sh index 30683cb0..5fdcaeb5 100755 --- a/vagrant/installer.sh +++ b/vagrant/installer.sh @@ -123,7 +123,7 @@ function install_k8s { pushd $dest_folder/kubespray-$version pip install -r requirements.txt - rm -f $krd_inventory_folder/group_vars/all.yml + rm -f $krd_inventory_folder/group_vars/all.yml 2> /dev/null if [[ -n "${verbose+x}" ]]; then echo "kube_log_level: 5" >> $krd_inventory_folder/group_vars/all.yml else |