methods/vb_common.rb
# Routine to add a socket to a VM
Routine to add a socket to a VM
Routine to add a socket to a VM
def add_socket_to_vbox_vm(options)
  socket_name = "/tmp/#{options['name']}"
  message     = "Information:\tAdding serial controller to "+options['name']
  command     = "#{options['vboxmanage']} modifyvm \"#{options['name']}\" --uartmode1 server #{socket_name}"
  execute_command(options,message,command)
  return socket_name
end
def add_socket_to_vbox_vm ( options ) socket_name = "/tmp/#{options['name']}" message = "Information:\tAdding serial controller to " + options [ 'name' ] command = "#{options['vboxmanage']} modifyvm \"#{options['name']}\" --uartmode1 server #{socket_name}" execute_command ( options , message , command ) return socket_name end
Routine to add a socket to a VM
Routine to add a socket to a VM
options
<not_specific>