[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to get preseed to ASK me for hostname + strange partitioning behaviour



I'm trying to get an automatic install of 11.2 working using a preseed file:

(https://gist.github.com/jby/7c3010e7157286166acee617ef47da30)

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?


Update:

Found this post, where the guy is annoyed about getting the question that I'm trying to get.

Tried his settings in hope that it would give me the same behaviour as he's seeing:
d-i netcfg/get_hostname unassigned-hostname
d-i netcfg/get_domain unassigned-domain
d-i netcfg/get_hostname seen true
d-i netcfg/get_domain seen true

But that didn't help me either...

/Update


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 please help me figure this out?


--
 Jonas Bygdén <jbygden@gmail.com>

Reply to: