methods/vb_common.rb
# Add bridged network to VirtualBox VM
Add bridged network to VirtualBox VM
Add bridged network to VirtualBox VM
def add_bridged_network_to_vbox_vm(options,nic_name)
  message = "Information:\tAdding bridged network "+nic_name+" to "+options['name']
  command = "#{options['vboxmanage']} modifyvm #{options['name']} --nic1 bridged --bridgeadapter1 #{nic_name}"
  execute_command(options,message,command)
  return
end
def add_bridged_network_to_vbox_vm ( options , nic_name ) message = "Information:\tAdding bridged network " + nic_name + " to " + options [ 'name' ] command = "#{options['vboxmanage']} modifyvm #{options['name']} --nic1 bridged --bridgeadapter1 #{nic_name}" execute_command ( options , message , command ) return end
Add bridged network to VirtualBox VM
Add bridged network to VirtualBox VM
options
<not_specific>
nic_name
<not_specific>