From 7ccc899a3181a5370962fcdbe2ea743afb734976 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 22 Oct 2018 08:40:21 -0700 Subject: 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 Issue-ID: MULTICLOUD-301 --- vagrant/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vagrant') 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 -- cgit 1.2.3-korg