Class: Vagrant::Driver::VirtualBox_4_2

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-ip.rb

Overview

Driver for VirtualBox 4.2.x

Instance Method Summary collapse

Instance Method Details

#read_guest_bridged_ipObject



6
7
8
9
# File 'lib/vagrant-ip.rb', line 6

def read_guest_bridged_ip
  output = execute("guestproperty", "get", @uuid, "/VirtualBox/GuestInfo/Net/0/V4/IP", :retryable => true)
  output[/^Value: (.+?)$/, 1]
end