When using iptonetworklist when deploying Vms ,first entry in the iptonetworklist ( iptonetworklist[0].networkid) becomes the default network.
-Thanks Sangeetha -----Original Message----- From: Alena Prokharchyk [mailto:[email protected]] Sent: Monday, April 15, 2013 9:32 AM To: [email protected]; [email protected] Subject: Re: How to set the default network when I specify IP use "iptonetworklist" parameter when deploy a vm? NetworkIds parameter has to be specify regardless of iptonetworklist parameter presence. So you have to define both parameters, and the first network from the networkIds list will be used as a default. -Alena. On 4/15/13 7:44 AM, "sx chen" <[email protected]> wrote: >Hi, > as far as I know, I can specify the default network by put it at the >first when use "*networkids*" paramenter when deploy a vm. > but if I use "iptonetworklist" parameter specify the IP address,I >find I can't specify the default network.I've test put it at the first >and put it at the last. > So if I want to specify the default network as well as the IP >address,what should I do? >appreciate your help! >
