Set usePredictableinterfacenames

We do this to allow eth0 to be set up for dhcp automagically. Linode
recommends this, and it makes our configuration simpler.
This commit is contained in:
Tristan Daniël Maat 2020-07-13 21:43:55 +01:00
parent d59a8b8fc6
commit 5a5fad7c82
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -20,6 +20,7 @@
networking = { networking = {
hostName = "tlaternet"; hostName = "tlaternet";
usePredictableInterfaceNames = false;
# useDHCP is deprecated # useDHCP is deprecated
useDHCP = false; useDHCP = false;
interfaces.eth0.useDHCP = true; interfaces.eth0.useDHCP = true;