Method: Vagrant::Guest::Base#configure_networks
- Defined in:
- lib/vagrant/guest/base.rb
#configure_networks(networks) ⇒ Object
Configures the given list of networks on the virtual machine.
The networks parameter will be an array of hashes where the hashes represent the configuration of a network interface. The structure of the hash will be roughly the following:
{ :type => :static, :ip => "192.168.33.10", :netmask => "255.255.255.0", :interface => 1 }
89 90 91 |
# File 'lib/vagrant/guest/base.rb', line 89 def configure_networks(networks) raise BaseError, :_key => :unsupported_configure_networks end |