diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-01-22 10:59:32 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-01-22 19:53:15 +0000 |
commit | 219b441cb247634096b355e9762454aab19037a2 (patch) | |
tree | 69fec279e1d8d97e6bbc7eaf960ebe7460714c89 /ci/02-maasdeploy.sh | |
parent | a835c1b436ee942636986f942e2bd4b5330777e3 (diff) |
modified to reflect the current user for virt install and ssh keys
Change-Id: If377a7cb2b6f03d491ca648b2da9c308c436421e
(cherry picked from commit 1294a4a4e1b53ce5942a91fe209813f490d20320)
Diffstat (limited to 'ci/02-maasdeploy.sh')
-rwxr-xr-x | ci/02-maasdeploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index a00fb002..0755ab5d 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -26,6 +26,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 |