feat: add g12; do not wait eth1 and eth2 for online

This commit is contained in:
2024-06-11 14:00:26 +08:00
parent 2eff630882
commit d833238361
4 changed files with 68 additions and 0 deletions

View File

@@ -259,10 +259,12 @@ in
DHCP = "yes";
IPv6AcceptRA = true;
};
linkConfig.RequiredForOnline = "no";
};
systemd.network.networks."10-eth2" = {
matchConfig.Name = gCfg.eth2Name;
address = [ "12.12.12.${ipSuffix}/24" ];
linkConfig.RequiredForOnline = "no";
};
networking.interfaces.${gCfg.eth0Name}.wakeOnLan.enable = true;
networking.extraHosts = ''