From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0L8sOR4UB2dxKQAA62LTzQ:P1 (envelope-from ) for ; Wed, 09 Oct 2024 23:39:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0L8sOR4UB2dxKQAA62LTzQ (envelope-from ) for ; Thu, 10 Oct 2024 01:39:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=iuevfImA; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728517150; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0bqvNx/+DXnDxA5YmP6DlWr+YZDq1eSiAYUpOg2YKAM=; b=sTCh/A1/6LB1370PjWJUWWtgUogf/5KqGdg1mNWTfYbFo0Ho5sIRsuIKV3ZU8ZqPLaiFfd ldKzZwzr9LaTfrpZ1YwP5irDbE2koFqVnIOs7BGlE2VfMNoGOtyPAaj/eWEzyfv9UYMVmu /CrxCkbuZQ38zZwSm0RK74I3relvoyr3ibW+E1lhCUq/Ah/2+klbD7zZVrlrt0GJfDhNaO noUnp0xtxR9/0waDu32GLModDDMCNOgT6ZP5eHz94BIzgK6JKJMUnVdFO/9am8KuIC1p24 5xY79ctWfOm1zql98MtLlqOqGUCKR5fFefT2CrzSQQI+B9M5gft7fvtcnRnUBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728517150; a=rsa-sha256; cv=none; b=SmMdv/8H+43TNXZskyl8/lxd5DHgtsvq6zeCaga7BRhd0XKZ8xKbz9KkKbv4Hhw4iPVMLk LSShIPXtMcBO8ZAEoTLYvvjnJKQFbOA08mwm68+mk0El5wi/NIp0AoX2vz3prssCmRfmIe RRSvXQJdw0awXMdC2hTJmfog53dUyKSqRQvw6NIZck/bJJhgffAOzEb8N4zm98Je8SReqs hopuvIB/h5D5n2HNJ21ADy2R/mYjH/0SV2EBlNXouc/2ak4sInVlzKojbdO+CAbPVQ2lyE 5DiPhBghPpaMFJFftjdV7czVNT/TQ432rnCdHn1q1xrp+cqMknGMm/uZT6wZoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=iuevfImA; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9EC05588F1 for ; Thu, 10 Oct 2024 01:39:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sygGK-0001Xx-Ih; Wed, 09 Oct 2024 19:38:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sygGF-0001Xb-Sy for help-guix@gnu.org; Wed, 09 Oct 2024 19:38:32 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sygGD-00058q-Ep for help-guix@gnu.org; Wed, 09 Oct 2024 19:38:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=0bqvNx/+DXnDxA5 YmP6DlWr+YZDq1eSiAYUpOg2YKAM=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=iuevfImAjNMWvUVIC/N8LN/D83lvFwYr8tt+kPrV LCibyXhXMMkQsgP9+6rGoSgqXumHAsKbESk5Q6mLwgEOUQ6zUuK0LYwI439nuZaykEcgLw SmYkpPJeak8I5WHxjABfWe3M7LdJyeuZmp74nhxrAXbOEF+mNq+Cv2WNNUNDk= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 96e0a01a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 9 Oct 2024 23:38:24 +0000 (UTC) To: Thom R Harmon Cc: help-guix@gnu.org Subject: Re: send-hostname/DHCP Option 12 for lab environment? In-Reply-To: <0e04ab75-292e-4f06-b2f6-a56e75249cf4@proton.me> (Thom R. Harmon's message of "Wed, 09 Oct 2024 21:59:53 +0000") References: <0e04ab75-292e-4f06-b2f6-a56e75249cf4@proton.me> Date: Wed, 09 Oct 2024 16:38:22 -0700 Message-ID: <87bjzsvocx.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.33 X-Spam-Score: -2.33 X-Migadu-Queue-Id: 9EC05588F1 X-Migadu-Scanner: mx13.migadu.com X-TUID: MV7J2N9gMRfz Hi Thom, On Wed, Oct 09 2024, Thom R Harmon wrote: > I cannot configure how to tell Guix System DHCP client nodes to use > send-hostname/DHCP Option 12. Did you already try the 'host-name' option from the example in the manual page for dhclient? [1] I never tried it but you can probably pass a file-like object [2] as a 'config-file' field [3] to the dhcp-client-service-type. The '-H' option to dhclient looks like DHCP option twelve. [4] Kind regards Felix [1] https://linux.die.net/man/5/dhclient.conf [2] like this, https://codeberg.org/lechner/system-config/src/commit/a61e3731399bcd0f26a85688cd7ee37107b3266c/host/wallace-server/operating-system.scm#L473 [3] https://guix.gnu.org/manual/devel/en/html_node/Networking-Setup.html#index-dhcp_002dclient_002dconfiguration [4] https://github.com/isc-projects/dhcp/blob/572032cb0e514606559de3784e3f7ca8e1539d17/includes/dhcp.h#L101