Add static ip from DMZ
This commit is contained in:
parent
6aade3b547
commit
3d7a3dd741
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue