From 7311319d65ab075556a242fc9be790561f9ad843 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 17 Jun 2015 14:55:31 +0200 Subject: [PATCH] Adeguato provisioning via vagrant con informazioni di mastri.local. --- Vagrantfile | 2 +- vagrant/roles/vagrant/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index b33cf9c..32f4bd7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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 diff --git a/vagrant/roles/vagrant/tasks/main.yml b/vagrant/roles/vagrant/tasks/main.yml index cdcbcc6..c833fb5 100644 --- a/vagrant/roles/vagrant/tasks/main.yml +++ b/vagrant/roles/vagrant/tasks/main.yml @@ -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: