Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209833
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Preseed file and hostname not used on installed system |
| Date | 2019-06-12 11:20 +0200 |
| Message-ID | <y87Ad-5yp-7@gated-at.bofh.it> (permalink) |
| References | <y7xdo-Bv-7@gated-at.bofh.it> <y7ROO-4pA-23@gated-at.bofh.it> <y7T4d-55m-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 6/11/2019 7:44 PM, Brian wrote: > On Tue 11 Jun 2019 at 18:25:47 +0200, john doe wrote: > >> On 6/10/2019 8:24 PM, john doe wrote: >>> Hi, I'm installing Debian Stretch using a preseed file, the preseed file >>> is common for multiple hosts with the exception of the hostname. >>> >>> boot: auto hostname=try domain=example.com ... >>> url=tftp://hostname/preseed.cfg >>> >>> The host name specified is not used when Debian is installed, it is >>> always set to 'bad'. >>> >>> I understand the limitations but what is the proper way to specify the >>> desired hostname or are workarounds (1) the way to go? >>> >>> Any help/hints is appriciated. >>> >>> >>> https://unix.stackexchange.com/questions/106614/preseed-cfg-ignoring-hostname-setting >>> >> >> After some digging/testing I'm not able to supply by kernel boot >> parameter the hostname: >> >> boot: auto hostname=foobar url=... >> >> From what I understand, 'hostname' as kernel boot parameter takes >> precedence over the hostname provided by dhcp. > > The notes in my preseed.cfg say this is not so if the file is presented > to the installer on a GRUB command line. What works is to have nothing > about hostname in preseed.cfg but put "hostname=..." on the command > line. > Can you share those notes or which notes are you refering to in (1)? https://www.debian.org/releases/stretch/example-preseed.txt -- John Doe
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Preseed file and hostname not used on installed system john doe <johndoe65534@mail.com> - 2019-06-10 20:30 +0200
Re: Preseed file and hostname not used on installed system john doe <johndoe65534@mail.com> - 2019-06-11 18:30 +0200
Re: Preseed file and hostname not used on installed system Jude DaShiell <jdashiel@panix.com> - 2019-06-11 19:40 +0200
Re: Preseed file and hostname not used on installed system Brian <ad44@cityscape.co.uk> - 2019-06-11 19:50 +0200
Re: Preseed file and hostname not used on installed system john doe <johndoe65534@mail.com> - 2019-06-12 11:20 +0200
Re: Preseed file and hostname not used on installed system Brian <ad44@cityscape.co.uk> - 2019-06-12 13:40 +0200
Re: Preseed file and hostname not used on installed system john doe <johndoe65534@mail.com> - 2019-06-12 16:10 +0200
Re: Preseed file and hostname not used on installed system Curt <curty@free.fr> - 2019-06-11 19:50 +0200
csiph-web