add localhost.localdomain alias as it is required by some services

This commit is contained in:
Mirosław Nagaś 2013-04-17 11:26:37 +02:00
parent 655612b9f6
commit b1d4922ffa
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module VagrantPlugins
# 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|