how-to use virt-install to connect at openvswitch bridges

We are moving out! An updated post can be found here:

Very simple. However, hard to find.
Download your qcow2 image and execute virt-install as follow.

yum -y install virt-install
curl -o ./test.qcow2 \
virt-install -n test --vcpus 2 --ram 2048 --connect qemu:///system \
--disk path=./test.qcow2,format=qcow2,bus=virtio,cache=none \
--network=bridge:external,model=virtio,virtualport_type=openvswitch \
--os-type=linux  --noautoconsole --vnc --os-variant=rhel7 \

In a few words. Just add “virtualport_type=openvswitch” to your network settings.

See ya!

3 replies »

  1. Hello sir .., you may help me sir
    first of all thanking you sir …
    how to install the openvswitch on hypervision and how to install and setup the virtual machine with redhat and centos platform
    Virtual Network for all the Virtual Machine shoud be hosted with OpenvSwitch.
    please help me sir …

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: