forked from LibreSchool/server-config
Changing local LAN IP address for development.
This commit is contained in:
parent
3f421afbbe
commit
44f2797270
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -35,7 +35,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
# 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: "172.16.254.1", auto_config: false
|
||||
config.vm.network "private_network", ip: "172.16.253.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
|
||||
|
10
domain.yml
10
domain.yml
@ -2,15 +2,15 @@
|
||||
# Configurazione dominio
|
||||
ntpserver: pdc.topolin.ia
|
||||
server: pdc
|
||||
serverip: 172.16.254.1
|
||||
serverip: 172.16.253.1
|
||||
servernetmask: 255.255.255.0
|
||||
servernet: 172.16.254.0
|
||||
servergw: 172.16.254.1
|
||||
servernet: 172.16.253.0
|
||||
servergw: 172.16.253.1
|
||||
serverfqdn: pdc.topolin.ia
|
||||
domainshort: TOPOLIN
|
||||
domainfull: topolin.ia
|
||||
dhcprange_start: 172.16.254.10
|
||||
dhcprange_end: 172.16.254.50
|
||||
dhcprange_start: 172.16.253.10
|
||||
dhcprange_end: 172.16.253.50
|
||||
extdnsserver1: 208.67.222.222
|
||||
extdnsserver2: 208.67.220.220
|
||||
org_email: info@bglug.it
|
||||
|
2
hosts
2
hosts
@ -2,4 +2,4 @@
|
||||
host_key_checking=false
|
||||
|
||||
[server]
|
||||
172.16.254.1 ansible_ssh_user=amgmt
|
||||
172.16.253.1 ansible_ssh_user=amgmt
|
||||
|
@ -27,7 +27,7 @@
|
||||
become: yes
|
||||
|
||||
- name: Creo interfaccia interna in NethServer
|
||||
shell: /sbin/e-smith/db networks set {{ intnic }} ethernet bootproto none device {{ intnic }} hwaddr {{ ansible_eth1.macaddress }} ipaddr 172.16.254.1 netmask 255.255.255.0 onboot yes role green
|
||||
shell: /sbin/e-smith/db networks set {{ intnic }} ethernet bootproto none device {{ intnic }} hwaddr {{ ansible_eth1.macaddress }} ipaddr 172.16.253.1 netmask 255.255.255.0 onboot yes role green
|
||||
become: yes
|
||||
|
||||
- name: Trigger interfaces configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user