[SOLVED] Hostname question with preseed
Posted: 2022-01-18 13:44
I'm trying to get an automatic install after booting off of a USB-drive with the firmware-netinstall ISO of 11.2 to work using a preseed file:
(https://gist.github.com/jby/7c3010e7157 ... 17ef47da30)
hosted on a server running nginx.
According to the nginx logs the file is read.
What I'd like to accomplish is to have the install be as fully automated as possible, but I *want* the question about what hostname to give the client.
I was told that setting these settings would make it ask me for the hostname:
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain seen false
and/or maybe this:
d-i netcfg/hostname seen false
However, no matter how I do it it always sets the hostname to the default 'debian'.
How do I get it to ask me for the hostname? Are the order of the commands in the preseed file significant?
Where do I put the commands to get the hostname question in that case?
Another thing:
When I use the above linked preseed file on a (VMWare-) VM it correctly picks up the partitioning set in the preseed file,
'd-i partman-auto/method string crypto' in my case.
However, when using it on physical hardware (Dell laptops) it seems to ignore that and give me the dialog asking how to do it.
Can someone knowledgeable please help me figure this out?
(https://gist.github.com/jby/7c3010e7157 ... 17ef47da30)
hosted on a server running nginx.
According to the nginx logs the file is read.
What I'd like to accomplish is to have the install be as fully automated as possible, but I *want* the question about what hostname to give the client.
I was told that setting these settings would make it ask me for the hostname:
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain seen false
and/or maybe this:
d-i netcfg/hostname seen false
However, no matter how I do it it always sets the hostname to the default 'debian'.
How do I get it to ask me for the hostname? Are the order of the commands in the preseed file significant?
Where do I put the commands to get the hostname question in that case?
Another thing:
When I use the above linked preseed file on a (VMWare-) VM it correctly picks up the partitioning set in the preseed file,
'd-i partman-auto/method string crypto' in my case.
However, when using it on physical hardware (Dell laptops) it seems to ignore that and give me the dialog asking how to do it.
Can someone knowledgeable please help me figure this out?