Module: VagrantVbguest::Helpers::VmCompatible::ClassMethods

Defined in:
lib/vagrant-vbguest/helpers/vm_compatible.rb

Instance Method Summary collapse

Instance Method Details

#communicate_to(vm) ⇒ Object



21
22
23
# File 'lib/vagrant-vbguest/helpers/vm_compatible.rb', line 21

def communicate_to(vm)
  vm.communicate
end

#distro_name(vm) ⇒ Object



25
26
27
# File 'lib/vagrant-vbguest/helpers/vm_compatible.rb', line 25

def distro_name(vm)
  vm.guest.name
end

#vm_id(vm) ⇒ Object



17
18
19
# File 'lib/vagrant-vbguest/helpers/vm_compatible.rb', line 17

def vm_id(vm)
  vm.id
end