From 1294a4a4e1b53ce5942a91fe209813f490d20320 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Fri, 22 Jan 2016 10:59:32 -0600 Subject: modified to reflect the current user for virt install and ssh keys Change-Id: If377a7cb2b6f03d491ca648b2da9c308c436421e --- ci/02-maasdeploy.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/02-maasdeploy.sh') diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index 8a22003a..42b5cac3 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -29,6 +29,10 @@ case "$1" in ;; esac +#just make sure the ssh keys added into maas for the current user +sed --i "s@/home/ubuntu@$HOME@g" ./deployment.yaml +sed --i "s@qemu+ssh://ubuntu@qemu+ssh://$USER@g" ./deployment.yaml + #make sure no password asked during the deployment. echo "$USER ALL=(ALL) NOPASSWD:ALL" > 90-joid-init -- cgit 1.2.3-korg