0
I'm having a heck of a time with libvirt. I deleted the default NAT network, and I'm trying to add a Bridge for VMs. According to libvirt's wiki and Network XML format | Using an existing host bridge, I have the following:
<network>
<name>host-bridge</name>
<forward mode="bridge"/>
<bridge name="br0"/>
</network>
I saved the file as host-bridge.xml
. I copied it to both /etc/libvirt/
and /usr/share/libvirt/schemas
. However, regardless of what I try, I always get a:
$ sudo virsh net-create host-bridge
error: Failed to open file 'host-bridge': No such file or directory
$ sudo virsh net-create host-bridge.xml
error: Failed to open file 'host-bridge.xml': No such file or directory
The machine is running Ubuntu Server 14.03 LTS. According to brctl
, the bridge br0
does exist, and its using eth1
.
Where are network config files supposed to be saved for libvirt?