mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-05 13:22:09 +07:00
Force setting hostname with vagrant
This commit is contained in:
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@@ -29,6 +29,7 @@ Vagrant.configure("2") do |config|
|
|||||||
|
|
||||||
vms.each do |vm|
|
vms.each do |vm|
|
||||||
config.vm.define vm[0] do |m|
|
config.vm.define vm[0] do |m|
|
||||||
|
m.vm.hostname = vm[0]
|
||||||
m.vm.box = vm[1]
|
m.vm.box = vm[1]
|
||||||
m.vm.network "private_network", ip: vm[2]
|
m.vm.network "private_network", ip: vm[2]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user