Removed port forwarding from Vagrant. Host-only NIC has to be configured via provisioning, to cope with interface name change.

This commit is contained in:
Emiliano Vavassori 2015-09-06 20:35:27 +02:00
parent 76f02d966d
commit 2827596dc8
2 changed files with 2 additions and 4 deletions

4
Vagrantfile vendored
View File

@ -26,13 +26,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 980, host: 9800
config.vm.network "forwarded_port", guest: 3000, host: 3000
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
config.vm.network "private_network", ip: "192.168.1.1"
config.vm.network "private_network", ip: "192.168.1.1", auto_config: false
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on

View File

@ -36,7 +36,7 @@
ignore_errors: true
- name: Configurazione forza password
shell: /sbin/e-smith/db configuration setprop passwordstrength PassExpires no Users none
shell: /sbin/e-smith/db configuration setprop passwordstrength PassExpires no Users none Admin strong MaxPassAge 180 MinPassAge 0 PassExpires no PassWarning 7
sudo: yes
when: chk_passstr|changed