Browse code

tweaks

Jesse Andrews authored on 2011/11/06 10:49:36
Showing 1 changed files
... ...
@@ -95,7 +95,7 @@ cat > $NET_XML <<EOF
95 95
   <forward/>
96 96
   <ip address="$GUEST_GATEWAY" netmask="$GUEST_NETMASK">
97 97
     <dhcp>
98
-      <range start='192.168.$GUEST_NETWORK.2' end='192.168.$GUEST_NETWORK.32' />
98
+      <range start='192.168.$GUEST_NETWORK.100' end='192.168.$GUEST_NETWORK.120' />
99 99
     </dhcp>
100 100
   </ip>
101 101
 </network>
... ...
@@ -155,7 +155,7 @@ cat > $LIBVIRT_XML <<EOF
155 155
 EOF
156 156
 
157 157
 # Create the instance
158
-cd $vm_dir && virsh create libvirt.xml
158
+virsh create $vm_dir/libvirt.xml
159 159
 
160 160
 # Tail the console log till we are done
161 161
 WAIT_TILL_LAUNCH=${WAIT_TILL_LAUNCH:-1}