[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/49: installer: Add static-networking template.
From: |
guix-commits |
Subject: |
17/49: installer: Add static-networking template. |
Date: |
Sun, 10 Nov 2024 05:26:24 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit cf3603762468b8342e1ed606efe35b1deb74dbff
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Oct 20 17:19:01 2024 +0200
installer: Add static-networking template.
* gnu/installer/services.scm (%system-services): Add
static-networking-service-type.
Change-Id: Iec6336f8d1f49e8b801e978d5c9eeb4f83a6e748
---
gnu/installer/services.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm
index d5a382606c..8b117d9a20 100644
--- a/gnu/installer/services.scm
+++ b/gnu/installer/services.scm
@@ -149,6 +149,28 @@
(name (G_ "DHCP client (dynamic IP address assignment)"))
(type 'network-management)
(snippet '((service dhcp-client-service-type))))
+ (system-service
+ (name (G_ "Static networking service."))
+ (type 'network-management)
+ (snippet `((service
+ static-networking-service-type
+ (list %loopback-static-networking
+ (static-networking
+ (addresses
+ (list
+ (network-address
+ (device "eth0")
+ ,(comment (G_ ";; Fill-in your IP.\n"))
+ (value "192.168.178.10/24"))))
+ (routes
+ (list (network-route
+ (destination "default")
+ ,(comment (G_ ";; Fill-in your gateway
IP.\n"))
+ (gateway "192.168.178.1"))))
+ (requirement '())
+ (provision '(networking))
+ ,(comment (G_ ";; Fill-in your nameservers.\n"))
+ (name-servers '("192.168.178.1"))))))))
;; Dealing with documents.
(system-service
- 15/49: installer: Add dry-run?, (continued)
- 15/49: installer: Add dry-run?, guix-commits, 2024/11/10
- 35/49: gnu: libgcrypt: Use libgpg-error-1.50 for the 64bit Hurd., guix-commits, 2024/11/10
- 23/49: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/10
- 13/49: installer: Fix file-name typos., guix-commits, 2024/11/10
- 30/49: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/10
- 31/49: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/10
- 38/49: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/10
- 21/49: gnu: hurd: Update to v0.9.git20240714., guix-commits, 2024/11/10
- 12/49: installer: Use "partitioning-page" consistently., guix-commits, 2024/11/10
- 22/49: gnu: gcc: Add indirections current-gcc, current-gcc-toolchain., guix-commits, 2024/11/10
- 17/49: installer: Add static-networking template.,
guix-commits <=
- 33/49: system: image: Add hurd64 image types., guix-commits, 2024/11/10
- 36/49: gnu: perl: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/10
- 25/49: gnu: bash-minimal: Fix build for 64bit Hurd., guix-commits, 2024/11/10
- 32/49: DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., guix-commits, 2024/11/10
- 47/49: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/10
- 40/49: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/10
- 39/49: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/10
- 44/49: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/10
- 49/49: system: hurd: Use 64bit gnumach for the 64bit Hurd., guix-commits, 2024/11/10
- 26/49: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/10