fixing the router and juju issue. 63/2163/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 1 Oct 2015 00:14:03 +0000 (19:14 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 1 Oct 2015 00:14:03 +0000 (19:14 -0500)
Change-Id: I5f4d18a9259842dca69177fff7b6ac249ecf3bcd

ci/02-maasdeploy.sh
ci/maas/orange/pod2/deployment.yaml

index d8afb0c..f507f3f 100755 (executable)
@@ -27,8 +27,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
 
     sudo apt-get install libvirt-bin -y
     sudo adduser ubuntu libvirtd
-
-    virsh pool-define /dev/stdin <<EOF
+   
+    sudo virsh pool-define /dev/stdin <<EOF
 <pool type='dir'>
   <name>default</name>
   <target>
@@ -37,8 +37,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
 </pool>
 EOF
 
-    virsh pool-start default
-    virsh pool-autostart default
+    sudo virsh pool-start default
+    sudo virsh pool-autostart default
 
 fi
 
index a52b9ff..0740624 100755 (executable)
@@ -12,11 +12,11 @@ demo-maas:
         # parameters for how the network is attached.
         name: maas-boot-vm-dc1
         interfaces: ['bridge=brAdm,model=virtio']
-        memory: 4096
-        vcpus: 2
+        memory: 3072
+        vcpus: 1
         arch: amd64
         pool: default
-        disk_size: 160G
+        disk_size: 120G
 
         # Apt http proxy setting(s)
         apt_http_proxy:
@@ -97,7 +97,7 @@ demo-maas:
               ip: 192.168.2.5
               subnet_mask: 255.255.255.0
               broadcast_ip: 192.168.2.255
-              router_ip: 192.168.2.1
+              router_ip: 192.168.2.4
               static_range:
                   low: 192.168.2.30
                   high: 192.168.2.150
@@ -194,8 +194,8 @@ demo-maas:
     juju-bootstrap:
         name: bootstrap
         interfaces: ['bridge=brAdm,model=virtio']
-        memory: 4096
-        vcpus: 2
+        memory: 3072
+        vcpus: 1
         arch: amd64
         pool: default
-        disk_size: 120G
+        disk_size: 60G