Vagrant: Set hostname.

fixes #4866
This commit is contained in:
Michael Friedrich 2013-10-16 01:35:30 +02:00
parent 0650832018
commit 8a4edfda16
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -15,6 +15,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# doesn't already exist on the user's system.
config.vm.box_url = "http://vagrant-boxes.icinga.org/centos-64-x64-vbox4212.box"
# The hostname the machine should have. Defaults to nil. If nil, Vagrant
# won't manage the hostname. If set to a string, the hostname will be set on boot.
config.vm.hostname = "icinga2.demo.icinga.org"
# 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.