Merge pull request #51 from markgoddard/set-vagrant-hostname

Set the Vagrant development VM's hostname
This commit is contained in:
Mark Goddard 2017-10-27 17:38:10 +01:00 committed by GitHub
commit 6892aa077a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
Vagrantfile vendored
View File

@ -19,6 +19,10 @@ Vagrant.configure("2") do |config|
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# The default hostname is localhost, so set it to something a little more
# sensible.
config.vm.hostname = "controller1"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.