migration Bouyges, corrections

This commit is contained in:
nyanloutre 2019-05-01 23:06:17 +02:00
parent e53f70e680
commit ad8bcba5d0
2 changed files with 7 additions and 3 deletions

View File

@ -103,6 +103,10 @@ in
services.dhcpd4 = {
enable = true;
interfaces = [ "eno2" ];
machines = [
{ ethernetAddress = "50:c7:bf:b6:b8:ef"; hostName = "HS110"; ipAddress = "10.30.50.7"; }
{ ethernetAddress = "ac:1f:6b:4b:01:15"; hostName = "IPMI"; ipAddress = "10.30.1.1"; }
];
extraConfig = ''
option domain-name-servers 89.234.141.66, 80.67.169.12, 80.67.169.40;
option subnet-mask 255.255.0.0;

View File

@ -102,7 +102,7 @@ in
rev = "a0996112fc451b76448589698de440ad5fd6ea79";
sha256 = "1f1625g7rfsddgk428g76p8fr7vz5gfhq3f452q17bjni3rf2pj3";
}
}/tplink_smartplug.py -t 192.168.0.57 -c energy"
}/tplink_smartplug.py -t 10.30.50.7 -c energy"
];
data_format = "json";
name_suffix = "_tplink-smartplug";
@ -183,8 +183,8 @@ in
nfs.server = {
enable = true;
exports = ''
/mnt/medias 192.168.0.0/16(ro,no_root_squash)
/exports/steam 192.168.0.0/24(rw,async,no_root_squash)
/mnt/medias 10.30.0.0/16(ro,no_root_squash)
/exports/steam 10.30.0.0/16(rw,async,no_root_squash)
'';
statdPort = 4000;
lockdPort = 4001;