rubiojr / knife-esx

@maintux's FORK IS NOW OFFICIAL: https://github.com/maintux/knife-esx
https://github.com/maintux/knife-esx
Apache License 2.0
35 stars 10 forks source link

Multiple Network Adapters #12

Closed harryyeh closed 11 years ago

harryyeh commented 11 years ago

Is it currently possible to have 2 network adapters right now? I was just looking at the --vm-network parameter

maintux commented 11 years ago

yes you can. you can specify more network adapter and eventually more manual mac address using the following parameters : option :vm_network, :short => "-N network[,network..]", :long => "--vm-network", :description => "Network where nic is attached to", :default => 'VM Network'

  option :mac_address,
    :short => "-M mac[,mac..]",
    :long => "--mac-address",
    :description => "Mac address list",
    :default => nil
harryyeh commented 11 years ago

This Gem is amazing with ESX works well, glad I added the template piece in. I'll try this feature too

maintux commented 11 years ago

Ok good. :)