lib/sailfish_tools/vm_manager.rb
# Starts the VirtualBox virtual machine specified by the name
# if the machine is not available, then throws the
# corresponding exception with description.
#
# Then method tries to connect to it via ssh several times
# with the timeout. If it fails, then the VM was not able
# to start and we can not connect to it.
# Application throws connection timeout exception.
#
# @param vm_config [Hash] configuration of the Virtual Machine from
#   VIRTUAL_MACHINES set.
Starts the VirtualBox virtual machine specified by the name
if the machine is not available, then throws the
corresponding exception with description.

Then method tries to connect to it via ssh several times
with the timeout. If it fails, then the VM was not able
to start and we can not connect to it.
Application throws connection timeout exception.
Starts the VirtualBox virtual machine specified by the name if the machine is not available then throws the corresponding exception with description . Then method tries to connect to it via ssh several times with the timeout . If it fails then the VM was not able to start and we can not connect to it . Application throws connection timeout exception .
def start_vm(vm_config, headless = true)
    puts "Starting #{vm_config[:name]} virtual machine"
    check_vm_for_existence(vm_config[:name])
    check_or_start_vm(vm_config, headless)
    wait_for_wm_to_boot(vm_config[:config])
  end
def start_vm ( vm_config , headless = true ) puts "Starting #{vm_config[:name]} virtual machine" check_vm_for_existence ( vm_config [ :name ] ) check_or_start_vm ( vm_config , headless ) wait_for_wm_to_boot ( vm_config [ :config ] ) end
Starts the VirtualBox virtual machine specified by the name
if the machine is not available, then throws the
corresponding exception with description.
Starts the VirtualBox virtual machine specified by the name if the machine is not available then throws the corresponding exception with description .
vm_config
configuration of the Virtual Machine from VIRTUAL_MACHINES set.
configuration of the Virtual Machine from VIRTUAL_MACHINES set .
headless
<not_specific>