Merge pull request #3 from nagas/improvement/add-localhost.localdomain

add localhost.localdomain alias as it is required by some services
This commit is contained in:
Shawn Dahlen 2013-04-17 05:32:08 -07:00
commit dd1c3fa76e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module VagrantPlugins
# create the temporary hosts file # create the temporary hosts file
path = env.tmp_path.join('hosts') path = env.tmp_path.join('hosts')
File.open(path, 'w') do |file| File.open(path, 'w') do |file|
file << "127.0.0.1\tlocalhost\n" file << "127.0.0.1\tlocalhost\slocalhost.localdomain\n"
# add a hosts entry for each active machine matching the provider # add a hosts entry for each active machine matching the provider
env.active_machines.each do |name, p| env.active_machines.each do |name, p|