[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: hydra: honeycomb: Add 'hosts-file' with entry for ci.guix.gnu.org
From: |
Ludovic Courtès |
Subject: |
01/02: hydra: honeycomb: Add 'hosts-file' with entry for ci.guix.gnu.org. |
Date: |
Wed, 15 Jun 2022 08:34:26 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit eb7bcd38ad251789083f17655098eeb4380704bb
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jun 12 22:27:05 2022 +0200
hydra: honeycomb: Add 'hosts-file' with entry for ci.guix.gnu.org.
Since these machines are hosted in the MDC data center, this ensures
they access ci.guix.gnu.org via the LAN.
* hydra/modules/sysadmin/honeycomb.scm (honeycomb-system): Add
'hosts-file' field.
---
hydra/modules/sysadmin/honeycomb.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hydra/modules/sysadmin/honeycomb.scm
b/hydra/modules/sysadmin/honeycomb.scm
index 14b7e09..0f968ae 100644
--- a/hydra/modules/sysadmin/honeycomb.scm
+++ b/hydra/modules/sysadmin/honeycomb.scm
@@ -226,6 +226,13 @@ TIMEOUT ~a~%"
%base-file-systems))
;;(swap-devices '("/swapfile"))
+
+ (hosts-file
+ (plain-file "hosts"
+ (string-append "127.0.0.1 localhost " host-name "\n"
+ "::1 localhost " host-name "\n"
+ "141.80.167.131 ci.guix.gnu.org\n"))) ;MDC LAN
+
(users (append %accounts %base-user-accounts))
(services (cons* (service dhcp-client-service-type)
(service avahi-service-type)