modified to install openssh-server in case not installed. Also 59/3859/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 2 Dec 2015 04:27:16 +0000 (22:27 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 2 Dec 2015 04:27:16 +0000 (22:27 -0600)
there were typo in virpod1 data.

Change-Id: I2e2d4457fbea9f80e10a3f57b1155deeb8bfb316

ci/02-maasdeploy.sh
ci/odl/01-deploybundle.sh

index a18fe03..d5e0262 100755 (executable)
@@ -48,7 +48,7 @@ sudo apt-add-repository ppa:maas-deployers/stable -y
 sudo apt-add-repository ppa:juju/stable -y
 sudo apt-add-repository ppa:maas/stable -y
 sudo apt-get update -y
-sudo apt-get install git maas-deployer juju juju-deployer maas-cli -y
+sudo apt-get install openssh-server git maas-deployer juju juju-deployer maas-cli -y
 juju init -f
 
 cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
index 15ff77b..a5ab161 100755 (executable)
@@ -59,8 +59,8 @@ case "$3" in
      'attvirpod1' )
          cp maas/att/virpod1/interfaces.host trusty/ubuntu-nodes-controller/network/interfaces.host
          cp maas/att/virpod1/interfaces.host trusty/ubuntu-nodes-compute/network/interfaces.host
-         cp maas/att/airpod1/lxc-add-more-interfaces trusty/ubuntu-nodes-controller/lxc/add-more-interfaces
-         cp maas/att/airpod1/lxc-add-more-interfaces trusty/ubuntu-nodes-compute/lxc/add-more-interfaces
+         cp maas/att/virpod1/lxc-add-more-interfaces trusty/ubuntu-nodes-controller/lxc/add-more-interfaces
+         cp maas/att/virpod1/lxc-add-more-interfaces trusty/ubuntu-nodes-compute/lxc/add-more-interfaces
         # As per your lab vip address list be deafult uses 10.4.1.11 - 10.4.1.20
          sed -i -- 's/10.4.1.1/192.168.1.1/g' ./bundles.yaml
         # Choose the external port to go out from gateway to use.