Cole, Thanks for quick response. It was my mistake. sorry about that.
The following format worked and i am able to attach the virtual machine to port-group.
"--network=network,source={0},mac={1},portgroup={2}".format(..)
Port "vnet5"
trunks: [100, 200]
Interface "vnet5"
Thanks,
Mani
On Wed, Dec 3, 2014 at 4:07 PM, Cole Robinson <crobinso@xxxxxxxxxx> wrote:
On 12/03/2014 06:20 PM, Mani Devarajan wrote:
All,
I moved to virt-manager 1.1.0 to make use of network port-group option. With
virt-manager i do see the port-group option for new network interfaces. I need
help with network port-group option for virt-install command. I tried
different options, but i couldnt get it working.
1) "--network network:{0} -m {1} -port-group {2}".format(..)
2) "--network network:{0} -m {1} -p {2}".format(..)
3) "--network network:{0} -m {1} -port-group {2}".format(..)
4) "--network network:{0} -m {1} -port-group:2".format(..)
The option is called 'portgroup'. To see a complete list of --network options, do:
$ virt-install --network help
--network options:
boot_order
clearxml
driver_name
driver_queues
filterref
mac
model
portgroup
source
source_mode
target
type
virtualport_instanceid
virtualport_managerid
virtualport_type
virtualport_typeid
virtualport_typeidversion
- Cole
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list