From b1d4922ffad3b56814aae303c2c15aa710868d05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miros=C5=82aw=20Naga=C5=9B?= <mgolden@smoczus.pl>
Date: Wed, 17 Apr 2013 11:26:37 +0200
Subject: [PATCH] add localhost.localdomain alias as it is required by some
 services

---
 lib/vagrant-hostmanager/hosts_file.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vagrant-hostmanager/hosts_file.rb b/lib/vagrant-hostmanager/hosts_file.rb
index fb9af39..b71193b 100644
--- a/lib/vagrant-hostmanager/hosts_file.rb
+++ b/lib/vagrant-hostmanager/hosts_file.rb
@@ -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|