7 Commits

Author SHA1 Message Date
Dan Carley
1ec225e052 Add "short" hostname to "/etc/hosts" mimicking Debian behaviour. [closes GH-456] 2011-08-09 23:25:55 -07:00
Dan Bode
ad834feccc (368) Added local network config code for Suse.
Networking in SUSE works almost exactly like redhat.
The only difference is the location of the networking scripts.

This has been verified as working on SLES11sp1, but requires a previously configured
eth1 interface (as with redhat)

I have also verified that I can still bring up a localnet on rhel 4,5
2011-07-03 17:35:59 -07:00
Mitchell Hashimoto
f79084b1db Touch RedHat network config to force it to exist [GH-381] 2011-06-09 23:20:17 -04:00
Mitchell Hashimoto
60ef9e482b Modify /etc/hosts for RedHat when setting hostname 2011-01-28 17:34:26 -08:00
Michael Bearne
f757184c06 added support for changing host name on up for Debian, Ubuntu and RedHat 2011-01-14 17:51:19 +00:00
Michael Bearne
eda6b81093 re-implemented redhat distribution of host only network with additional check to see if network interface is up as on intial setup when not using dhcp the interface will be down as dhcp lookup will time out. To prevent vagrant time out on boot you need to add file /etc/dhclient.conf with value content timeout 1; to guest this is beacuse the default is 60 seconds this should be done in the base box 2011-01-10 17:15:15 +00:00
Michael Bearne
8b6d63ab58 Merge remote branch 'remotes/upstream/master'
Refactored redhat distribution to fit new model

Conflicts:
	lib/vagrant/systems/linux.rb
	templates/debian_network_entry.erb
	templates/locales/en.yml
	templates/network_entry.erb
	templates/network_entry_debian.erb
2011-01-10 14:21:52 +00:00