Skip to content

Commit

Permalink
Fixed issue with hosts file having bad entry using host_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Connolly committed Feb 1, 2013
1 parent a41fbee commit 260c97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Vagrant::Config.run do |config|
config.vm.box_url = baseboxes[config.vm.box]

# Config hosts files both internally (vagrant-hostmaster) and externally (native vagrant)
config.vm.host_name = conf['basebox']
config.vm.host_name = conf['project']
config.hosts.name = conf['host_name'].nil? ? "#{conf['project']}.dev" : conf['host_name']
config.hosts.aliases = %W(www.#{config.hosts.name})

Expand Down

0 comments on commit 260c97c

Please sign in to comment.