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:
parent
76f02d966d
commit
2827596dc8
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user