Adeguato provisioning via vagrant con informazioni di mastri.local.

This commit is contained in:
Emiliano Vavassori 2015-06-17 14:55:31 +02:00
parent 5f8da9158f
commit 7311319d65
2 changed files with 2 additions and 2 deletions

2
Vagrantfile vendored
View File

@ -36,7 +36,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
config.vm.network "public_network", ip: "192.168.0.1"
config.vm.network "public_network", ip: "192.168.1.1"
# If true, then any SSH connections made will enable agent forwarding.
# Default value: false

View File

@ -7,7 +7,7 @@
sudo: yes
- name: Configuro la scheda secondaria
shell: /sbin/e-smith/db networks setprop eth1 bootproto none device eth1 ipaddr 192.168.0.1 netmask 255.255.255.0 onboot yes role green
shell: /sbin/e-smith/db networks setprop eth1 bootproto none device eth1 ipaddr 192.168.1.1 netmask 255.255.255.0 onboot yes role green
when: "'NethServer' in chk_nethserver.stdout"
sudo: yes
notify: