Saturday, September 21, 2019

virt-install Using Open vSwitch Bridge in KVM

When creating VM with virt-install and attach bridge network using command:

--network=bridge=ovs-br0,model=virtio
if ovs-br0 is an openvswitch bridge network, this will fail:

ERROR    Unable to add bridge ovs-br0 port vnet0: Operation not supported
To fix thi, add virtualport_type=openvswitch :

--network=bridge=ovs-br1,model=virtio,virtualport_type=openvswitch

No comments:

Post a Comment