lib/sailfish_tools/vm_manager.rb
# Method tries to detect the Sailfish OS VM configuration
Method tries to detect the Sailfish OS VM configuration
Method tries to detect the Sailfish OS VM configuration
def determine_vm_configuration
    @machines = `VBoxManage list vms`.each_line.map do |line|
      parts = VBOXMANAGER_VM_LIST.match(line)
      { name: parts[1], id: parts[2] }
    end
  end
def determine_vm_configuration @machines = ` VBoxManage list vms ` . each_line . map do | line | parts = VBOXMANAGER_VM_LIST . match ( line ) { name : parts [ 1 ] , id : parts [ 2 ] } end end
Method tries to detect the Sailfish OS VM configuration
Method tries to detect the Sailfish OS VM configuration