Add static ip from DMZ

This commit is contained in:
Fabian Hauser 2020-04-20 21:32:25 +00:00
parent 6aade3b547
commit 3d7a3dd741

View file

@ -18,7 +18,7 @@
echo 'cryptsetup-askpass' >> /root/.profile
'';
};
boot.kernelParams = [ "ip=::::montalin:eth0:dhcp" ];
boot.kernelParams = [ "ip=10.1.2.1::10.1.2.2:255.255.255.0:montalin:eth0:none:10.1.2.1" ]; # see https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
boot.initrd.postMountCommands = ''
ip link set eth0 down