mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 15:30:34 +00:00
use dhcp
This commit is contained in:
parent
232b47d587
commit
28a318a4e4
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -1,4 +1,3 @@
|
|||||||
IP='192.168.100.150'
|
|
||||||
Vagrant.configure(2) do |config|
|
Vagrant.configure(2) do |config|
|
||||||
|
|
||||||
config.ssh.forward_agent = 'true'
|
config.ssh.forward_agent = 'true'
|
||||||
@ -7,13 +6,11 @@ Vagrant.configure(2) do |config|
|
|||||||
config.vm.box_url = 'http://software.apidb.org/vagrant/centos-7.1-64-nocm.json'
|
config.vm.box_url = 'http://software.apidb.org/vagrant/centos-7.1-64-nocm.json'
|
||||||
|
|
||||||
config.vm.hostname = 'redmine.vm.apidb.org'
|
config.vm.hostname = 'redmine.vm.apidb.org'
|
||||||
config.vm.network :private_network, ip: IP
|
config.vm.network :private_network, type: 'dhcp'
|
||||||
|
|
||||||
if Vagrant.has_plugin?('landrush')
|
if Vagrant.has_plugin?('landrush')
|
||||||
config.landrush.enabled = true
|
config.landrush.enabled = true
|
||||||
config.landrush.tld = 'vm.apidb.org'
|
config.landrush.tld = 'vm.apidb.org'
|
||||||
config.landrush.host 'redmine.vm.apidb.org', IP
|
|
||||||
config.landrush.host_ip_address = IP
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision :ansible do |ansible|
|
config.vm.provision :ansible do |ansible|
|
||||||
|
Loading…
Reference in New Issue
Block a user