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