|
@@ -18,7 +18,7 @@ cat >/tmp/host-bridge.xml <<EOL
|
|
|
<bridge name="br0"/>
|
|
|
</network>
|
|
|
EOL
|
|
|
-virsh net-define host-bridge.xml
|
|
|
+virsh net-define /tmp/host-bridge.xml
|
|
|
virsh net-autostart host-bridge
|
|
|
virsh net-start host-bridge
|
|
|
rm /tmp/host-bridge.xml
|
|
@@ -32,11 +32,11 @@ cat >/tmp/isolated-bridge.xml <<EOL
|
|
|
<bridge name="br1"/>
|
|
|
</network>
|
|
|
EOL
|
|
|
-virsh net-define isolated-bridge.xml
|
|
|
+virsh net-define /tmp/isolated-bridge.xml
|
|
|
virsh net-autostart isolated-bridge
|
|
|
virsh net-start isolated-bridge
|
|
|
rm /tmp/isolated-bridge.xml
|
|
|
|
|
|
|
|
|
# List networks
|
|
|
-virsh net-list
|
|
|
+virsh net-list
|