diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-02 23:49:13 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-03 08:32:08 -0500 |
commit | 4c3af4a05172d22de01f5b57cc589db05af3cda5 (patch) | |
tree | c4049d4727826b50292cd8ccf2c3370d2a0d6655 /ci/02-maasdeploy.sh | |
parent | 6c8cf50ca56d236a8d4dd5b3f730eeaaf67ee44c (diff) |
modified to supprt default virtual install.
Change-Id: I5064114849b126d8fed8840a22e10573a847708d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-maasdeploy.sh')
-rwxr-xr-x | ci/02-maasdeploy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index 4d3fdb03..e7f9e8dc 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -183,7 +183,10 @@ sed --i "s@/home/ubuntu@$HOME@g" ./deployment.yaml sed --i "s@qemu+ssh://ubuntu@qemu+ssh://$USER@g" ./deployment.yaml cp ./deployment.yaml ~/.juju/ -cp ./deployconfig.yaml ~/.juju/ + +if [ -e ./deployconfig.yaml ]; then + cp ./deployconfig.yaml ~/.juju/ +fi sudo maas-deployer -c deployment.yaml -d --force |