From 3c1fbc7103e58acf27bd70f997a51cba36e0013f Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Thu, 20 Jul 2023 07:06:11 +0100 Subject: [PATCH] Add compute node IPs to /etc/hosts to hopefully make things start up before the network settles. --- hosts/common/global/network.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hosts/common/global/network.nix b/hosts/common/global/network.nix index 4fff589..d315455 100644 --- a/hosts/common/global/network.nix +++ b/hosts/common/global/network.nix @@ -1,8 +1,12 @@ { - networking.useDHCP = true; - - networking.firewall = { - enable = false; + networking = { + useDHCP = true; + firewall.enable = false; + extraHosts = '' + 192.168.1.71 c1 + 192.168.1.72 c2 + 192.168.1.73 c3 + ''; }; environment.persistence."/persist" = {