Merge remote-tracking branch 'origin/master' into roles
diff --git a/cord-setup.yml b/cord-setup.yml
index 6d83063..a1cd437 100644
--- a/cord-setup.yml
+++ b/cord-setup.yml
@@ -32,6 +32,12 @@
     - python-keystoneclient
     - python-glanceclient
 
+  # On some systems ansible complains that the "/usr/share/ansible/source_control/git directory
+  # does not exist when there is an attempt to get juju-ansible. To work around this issue
+  # we precreate the directory
+  - name: Work Around - source_control directory creation
+    file: path="/usr/share/ansible/source_control/git" state=directory
+
   - name: Get juju-ansible git repo
     git: repo=https://github.com/cmars/juju-ansible.git
       dest=/usr/local/src/juju-ansible
@@ -63,15 +69,18 @@
     - id_rsa
     - id_rsa.pub
 
-  - name: Check whether we're on CloudLab
-    shell: ls /usr/testbed/bin/mkextrafs
-    ignore_errors: true
-    register: is_cloudlab
+  - name: Stat mkextrafs
+    stat: path="/usr/testbed/bin/mkextrafs"
+    register: is_mkextrafs
+
+  - name: Check whether we're on Cloudlab
+    set_fact:
+      is_cloudlab : "{{ is_mkextrafs.stat.exists }}"
 
   - name: (CloudLab) Set up extra disk space
     shell: /usr/testbed/bin/mkextrafs -f /var/lib/uvtool/libvirt/images
       creates=/var/lib/uvtool/libvirt/images/lost+found
-    when: is_cloudlab | success
+    when: is_cloudlab
 
   - name: Add myself to libvirtd group
     user: name={{ ansible_env['SUDO_USER'] }}
@@ -145,19 +154,22 @@
     authorized_key: user="root"
       key="{{ hostvars['head']['sshkey']['stdout'] }}"
 
-  - name: Check whether we're on CloudLab
-    shell: ls /usr/testbed/bin/mkextrafs
-    ignore_errors: true
-    register: is_cloudlab
+  - name: Stat mkextrafs
+    stat: path="/usr/testbed/bin/mkextrafs"
+    register: is_mkextrafs
+
+  - name: Check whether we're on Cloudlab
+    set_fact:
+      is_cloudlab : "{{ is_mkextrafs.stat.exists }}"
 
   - name: Make sure that /var/lib/nova exists
     file: path=/var/lib/nova state=directory
-    when: is_cloudlab | success
+    when: is_cloudlab
 
   - name: (CloudLab) Set up extra disk space
     shell: /usr/testbed/bin/mkextrafs -f /var/lib/nova
       creates=/var/lib/nova/lost+found
-    when: is_cloudlab | success
+    when: is_cloudlab
 
 # Play: Install services using Juju
 - hosts: head
diff --git a/scripts/compute-ext-net.sh b/scripts/compute-ext-net.sh
index 5c59a85..af0d2a2 100755
--- a/scripts/compute-ext-net.sh
+++ b/scripts/compute-ext-net.sh
@@ -3,9 +3,9 @@
 apt-get update
 apt-get install bridge-utils
 brctl addbr databr
-ifconfig databr 192.168.0.254/24 up
-ip link add address 02:42:c0:a8:00:01 type veth
+ifconfig databr 10.168.0.1/24 up
+ip link add address 02:42:0a:a8:00:01 type veth
 ifconfig veth0 up
 ifconfig veth1 up
 brctl addif databr veth0
-iptables -t nat -A POSTROUTING -s 192.168.0.0/24 \! -d 192.168.0.0/24 -j MASQUERADE
+iptables -t nat -A POSTROUTING -s 10.168.0.0/24 \! -d 10.168.0.0/24 -j MASQUERADE