[virt-tools-list] How to specify network port-group with virt-install command
Cole Robinson
crobinso at redhat.com
Thu Dec 4 00:07:33 UTC 2014
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
More information about the virt-tools-list
mailing list