Vagrant objected to the underscore in the hostname

This commit is contained in:
Bernhard F.W. Gschaider 2014-06-01 09:30:02 +02:00
parent aaaea3559d
commit f4d0e740c0

View file

@ -4,7 +4,7 @@
Vagrant.configure("2") do |config|
config.vm.synced_folder "..", "/FOAM-sources"
config.vm.hostname="vagrant_"+ (ENV["HOSTNAME"] || `hostname`.strip)
config.vm.hostname="vagrant"+ (ENV["HOSTNAME"] || `hostname`.strip)
nrCPU=1
if ENV["WM_VAGRANT_CPUS"]