Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2123  / 1 Year ago, fri, february 24, 2023, 6:47:00

I use a pxe install for a lab of machines, one problem I have is that the hostname is always set to 'ubuntu'. This is wrong, it should instead ask during the install what hostname should be used.



One hack was to set the hostname file at the end of the preseed, in the script section. But this still doesn't ask the installer.


More From » hostname

 Answers
7

In your preseed file,



# Any hostname and domain names assigned by dhcp take precedence
# over values set here. However, setting them prevent the questions
# from being shown

d-i netcfg/get_hostname string hostname
d-i netcfg/get_domain string domain

[#43991] Saturday, February 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elopingapo

Total Points: 206
Total Questions: 110
Total Answers: 114

Location: Guam
Member since Tue, Nov 29, 2022
1 Year ago
;