aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2019-05-14 15:06:23 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-14 15:06:23 +0000
commit52853025e3b450957fa3813cb4e9861f3573510a (patch)
treeff9e556263fb44ebca462c342e7d7395acd238e0
parent1f78517c7ef99edb60ff1196f640bcaeddaa6f0a (diff)
parent82d0d313427bf78a37726cd592f566c7ce840bd6 (diff)
Merge "Make aio.sh rerunnable"
-rwxr-xr-xkud/hosting_providers/vagrant/aio.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/kud/hosting_providers/vagrant/aio.sh b/kud/hosting_providers/vagrant/aio.sh
index 31663af5..0d06cc65 100755
--- a/kud/hosting_providers/vagrant/aio.sh
+++ b/kud/hosting_providers/vagrant/aio.sh
@@ -18,6 +18,7 @@ if [[ $(whoami) != 'root' ]];then
fi
echo "Cloning and configuring KUD project..."
+rm -rf k8s
git clone https://git.onap.org/multicloud/k8s/
cd k8s/kud/hosting_providers/baremetal/
cat <<EOL > inventory/hosts.ini
@@ -47,6 +48,7 @@ kube-node
kube-master
EOL
sed -i '/andrewrothstein.kubectl/d' ../../deployment_infra/playbooks/configure-*.yml
+rm -f ~/.ssh/id_rsa
echo -e "\n\n\n" | ssh-keygen -t rsa -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod og-wx ~/.ssh/authorized_keys