Skip to content

Commit

Permalink
Merge pull request #3 from nagas/improvement/add-localhost.localdomain
Browse files Browse the repository at this point in the history
add localhost.localdomain alias as it is required by some services
  • Loading branch information
smdahlen committed Apr 17, 2013
2 parents 655612b + b1d4922 commit dd1c3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-hostmanager/hosts_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def generate(env, provider)
# create the temporary hosts file
path = env.tmp_path.join('hosts')
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
env.active_machines.each do |name, p|
Expand Down

0 comments on commit dd1c3fa

Please sign in to comment.