[virt-tools-list] How to specify network port-group with virt-install command
Mani Devarajan
manidevarajan at gmail.com
Thu Dec 4 00:52:40 UTC 2014
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 at redhat.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20141203/6a1fd080/attachment.htm>
More information about the virt-tools-list
mailing list