#1008597 debian-edu-install: Ask for hostname during standalone installation

#1008597#5
Date:
2022-03-29 09:31:39 UTC
From:
To:
While testing 11u3 ISO images, I noticed that a standalone Debian Edu
installation does not ask for a hostname. It tries to find a hostname
via DNS/DHCP and falls back to am-<mac>.

There is space for improvement here. Dunno, if that is possible within
D-I and the current debian-edu-profile.udeb design.

Mike

#1008597#10
Date:
2022-03-29 10:50:07 UTC
From:
To:
[Mike Gabriel]

Will it accept the hostname on the boot prompt as
hostname=some.domain.name?

#1008597#15
Date:
2022-03-30 08:25:03 UTC
From:
To:
[ Petter Reinholdtsen, 2022-03-29 ]

No; the update-hostname-from-ip script will overwrite the hostname given
as kernel command line param with am-<mac>, just like it happens with
'hostname=pxeinstall' for PXE installed systems.

Wolfgang

#1008597#20
Date:
2022-03-30 11:13:23 UTC
From:
To:
Hi Wolfgang,

Thanks for the feedback, I did not yet get around to testing Petters
question / hint.

I'd quite favour a change to update-hostname-from-ip that adds a check
to the script that finds out wether the machine is on a Debian Edu
network or somewhere entirely else.

Definitely, the update-hostname-from-ip should be usable on the home
Debian Edu network, but IMHO nowhere else.

Mike

#1008597#23
Date:
2026-08-18 19:52:32 UTC
From:
To:
Hello,

Bug #1008597 in debian-edu-config reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/4962248d17875ef7493db0a28f51739501c3488e
------------------------------------------------------------------------
share/debian-edu-config/d-i/pre-pkgsel: Support hostname override via /proc/cmdline. (Closes: #1008597).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1008597

#1008597#28
Date:
2026-08-18 19:52:55 UTC
From:
To:
Hello,

Bug #1008597 in debian-edu-config reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/4ff952f918920a387579a99a72e38fac0b0a2467
------------------------------------------------------------------------
share/debian-edu-config/d-i/pre-pkgsel: Support hostname override via /proc/cmdline. (Closes: #1008597).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1008597

#1008597#33
Date:
2026-08-18 19:56:27 UTC
From:
To:
Control: reassign -1 src:debian-edu-config

This needed to be fixed in d-e-c, see
https://salsa.debian.org/debian-edu/debian-edu-config/-/merge_requests/47

Mike

#1008597#38
Date:
2026-08-21 18:40:06 UTC
From:
To:
Hello,

Bug #1008597 in debian-edu-config reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/163d7c6df4dcabddcab0094991eb0e95d1b08d4f
------------------------------------------------------------------------
share/debian-edu-config/d-i/pre-pkgsel: Support hostname override via /proc/cmdline. (Closes: #1008597).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1008597