Skip to content
Snippets Groups Projects
Commit 850a727a authored by Mark Goddard's avatar Mark Goddard
Browse files

Set the Vagrant development VM's hostname

By default the hostname will be localhost, which causes issues with
RabbitMQ.
parent 0103c9a4
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,10 @@ Vagrant.configure("2") do |config| ...@@ -19,6 +19,10 @@ Vagrant.configure("2") do |config|
# `vagrant box outdated`. This is not recommended. # `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false # 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 # 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, # 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. # accessing "localhost:8080" will access port 80 on the guest machine.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment