aio.sh script can be run only ones.
Cloning of k8s on top of existing dir does not work
and ssh key generation on top of existing key does not work.
Issue-ID: MULTICLOUD-620
Change-Id: Ic60dfd6b96ab78f6edcdc3655c18f90c4427c856
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
 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
 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