diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a0106137..3a42830e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ - Ability to specify proxy settings for chef. [GH-169] - Helpful error message shown if NFS mounting fails. [GH-135] - Gentoo guests now support host only networks. [GH-240] + - RedHat (CentOS included) guests now support host only networks. [GH-260] ## 0.7.0.beta (December 24, 2010) diff --git a/lib/vagrant/systems/base.rb b/lib/vagrant/systems/base.rb index a869b1a16..1ab221f53 100644 --- a/lib/vagrant/systems/base.rb +++ b/lib/vagrant/systems/base.rb @@ -68,7 +68,7 @@ module Vagrant # Prepares the system for host only networks. This is called # once prior to any `enable_host_only_network` calls. - def prepare_host_only_network(net_options = nil) + def prepare_host_only_network(net_options=nil) raise BaseError, :_key => :unsupported_host_only end diff --git a/lib/vagrant/systems/debian.rb b/lib/vagrant/systems/debian.rb index 86f03a3eb..598b79c01 100644 --- a/lib/vagrant/systems/debian.rb +++ b/lib/vagrant/systems/debian.rb @@ -1,7 +1,7 @@ module Vagrant module Systems class Debian < Linux - def prepare_host_only_network(net_options = nil) + def prepare_host_only_network(net_options=nil) # Remove any previous host only network additions to the # interface file. vm.ssh.execute do |ssh| diff --git a/lib/vagrant/systems/gentoo.rb b/lib/vagrant/systems/gentoo.rb index fcef90306..5c005e5b8 100644 --- a/lib/vagrant/systems/gentoo.rb +++ b/lib/vagrant/systems/gentoo.rb @@ -1,7 +1,7 @@ module Vagrant module Systems class Gentoo < Linux - def prepare_host_only_network(net_options = nil) + def prepare_host_only_network(net_options=nil) # Remove any previous host only network additions to the # interface file. vm.ssh.execute do |ssh|