From 377a457e64a5a4cd4709c1c2bb99158ce69d4ac3 Mon Sep 17 00:00:00 2001 From: Yao Le Date: Tue, 14 Apr 2020 01:15:16 +0800 Subject: Change the base installation directory The /tmp will refresh after reboot, so change it to &HOME Issue-ID: MULTICLOUD-1050 Signed-off-by: Yao Le Change-Id: I47a030b0e33f48c653b21d81d52f7cf717b6d34f --- kud/hosting_providers/vagrant/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kud/hosting_providers') diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index e14974a8..546d4058 100755 --- a/kud/hosting_providers/vagrant/installer.sh +++ b/kud/hosting_providers/vagrant/installer.sh @@ -154,10 +154,10 @@ function install_addons { echo "Installing Kubernetes AddOns" _install_ansible sudo ansible-galaxy install $verbose -r $kud_infra_folder/galaxy-requirements.yml --ignore-errors - ansible-playbook $verbose -i $kud_inventory $kud_playbooks/configure-kud.yml | sudo tee $log_folder/setup-kud.log + ansible-playbook $verbose -i $kud_inventory -e "base_dest=$HOME" $kud_playbooks/configure-kud.yml | sudo tee $log_folder/setup-kud.log for addon in ${KUD_ADDONS:-virtlet ovn4nfv nfd sriov qat}; do echo "Deploying $addon using configure-$addon.yml playbook.." - ansible-playbook $verbose -i $kud_inventory $kud_playbooks/configure-${addon}.yml | sudo tee $log_folder/setup-${addon}.log + ansible-playbook $verbose -i $kud_inventory -e "base_dest=$HOME" $kud_playbooks/configure-${addon}.yml | sudo tee $log_folder/setup-${addon}.log done echo "Run the test cases if testing_enabled is set to true." if [[ "${testing_enabled}" == "true" ]]; then -- cgit 1.2.3-korg