aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers
diff options
context:
space:
mode:
authorYao Le <le.yao@intel.com>2020-06-22 18:13:26 +0800
committerYao Le <le.yao@intel.com>2020-06-22 18:17:51 +0800
commit68512d25cc424b039abad3829f5c083e42b51d0e (patch)
treeb451b4f70260e8625bb703c045184f3ed976977c /kud/hosting_providers
parent1f6c1d5d3750fbcfaadd1788ac47f28dd3708423 (diff)
Containerized base installation directory change
Change the directory to $HOME instead of /tmp which will refresh after reboot. Same with what we do in vagrant installation. Issue-ID: MULTICLOUD-1050 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I413ac0b6c668851841e1bc39d0aafe132ec56ef8
Diffstat (limited to 'kud/hosting_providers')
-rwxr-xr-xkud/hosting_providers/containerized/installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/hosting_providers/containerized/installer.sh b/kud/hosting_providers/containerized/installer.sh
index 5e46d967..c443eaf1 100755
--- a/kud/hosting_providers/containerized/installer.sh
+++ b/kud/hosting_providers/containerized/installer.sh
@@ -117,12 +117,12 @@ function install_addons {
$kud_infra_folder/galaxy-requirements.yml --ignore-errors
ansible-playbook $verbose -i \
- $kud_inventory $kud_playbooks/configure-kud.yml | \
+ $kud_inventory -e "base_dest=$HOME" $kud_playbooks/configure-kud.yml | \
tee $cluster_log/setup-kud.log
for addon in ${KUD_ADDONS:-virtlet ovn4nfv nfd sriov cmk $plugins_name}; do
echo "Deploying $addon using configure-$addon.yml playbook.."
ansible-playbook $verbose -i \
- $kud_inventory $kud_playbooks/configure-${addon}.yml | \
+ $kud_inventory -e "base_dest=$HOME" $kud_playbooks/configure-${addon}.yml | \
tee $cluster_log/setup-${addon}.log
done