all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Thom R Harmon <trharmon@proton.me>
Cc: help-guix@gnu.org
Subject: Re: send-hostname/DHCP Option 12 for lab environment?
Date: Wed, 09 Oct 2024 16:38:22 -0700	[thread overview]
Message-ID: <87bjzsvocx.fsf@lease-up.com> (raw)
In-Reply-To: <0e04ab75-292e-4f06-b2f6-a56e75249cf4@proton.me> (Thom R. Harmon's message of "Wed, 09 Oct 2024 21:59:53 +0000")

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


  reply	other threads:[~2024-10-09 23:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09 21:59 send-hostname/DHCP Option 12 for lab environment? Thom R Harmon
2024-10-09 23:38 ` Felix Lechner via [this message]
2024-10-10 20:21   ` Thom Harmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bjzsvocx.fsf@lease-up.com \
    --to=help-guix@gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=trharmon@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.