Vagrant: Added sample config for Vagrant::Hostsupdate; Updated README

This commit is contained in:
Jan Beilicke 2020-03-29 22:34:17 +02:00
parent 0e5386efea
commit 038f503970
2 changed files with 78 additions and 7 deletions

9
Vagrantfile vendored
View file

@ -43,6 +43,15 @@ Vagrant.configure(2) do |config|
config.vm.define "jbdev" do |dev|
dev.vm.hostname = "jbdev.local"
# If you have installed the Vagrant::Hostsupdate plugin, you can add additional domains
# that should be mapped to the VM.
#dev.hostsupdater.aliases = ["jenkins.jbdev.local", "grafana.jbdev.local"]
# An additional IP that allows you to access the VM and its services from the VM host.
# If you change this IP, you will have to modify the `ansible_host` in the inventory file correspondingly.
# More information about the various network modes:
# https://www.virtualbox.org/manual/ch06.html#network_nat_service
dev.vm.network :private_network, ip: "192.168.6.65"
dev.vm.provision :ansible do |ansible|