Re: Debian Preseed

2005-04-22 Thread Kenneth E. Lussier
On Fri, 2005-04-22 at 15:56 -0400, Ed Lawson wrote:
> On Fri, 22 Apr 2005 13:33:20 -0400
> "Kenneth E. Lussier" <[EMAIL PROTECTED]> wrote:

> I have never used a preseed.txt file so am ignorant of that.
> However, if I understand you correctly, you can set hostname and
> domain in the pressed.txt file and it works.  If you leave the
> entries in that file with or without variables, then you will not
> be prompted.  So if you want to use your preseed file and be
> prompted, then you need to comment out the two d-i lines
> involved.

Been there, done that :-)
> > > What installer are you using?
> > 
> > I'm using debian-installer and debian-cd to build the images.
> 
> I apologize for not asking with the necessary precision.  Are you
> using the installer which has been developed for Sarge or are you
> using the installer which is used with Woody, the current stable
> release?  If the Sarge installer, I assume you are using the
> 110Meg installer and you have the RC3 version?  I have also
> assumed you are using a CD and not floppies.  Have i assumed
> incorrectly.

You assume correctly. I am using the Sarge/Sid installer RC3.

> My suggestion would be to go to :
> 
> http://www.debian.org/devel/debian-installer/
> 
> and get the network installer (110M) RC3.
> 
> Check the install docs on that page as well.

I think that I have found the problem. The default debconf priority is
critical, so it only shows questions that are considered of the utmost
importance, or that don't have "reasonable defaults" (IP address,
netmask, gateway, and name servers don't have that "reasonable default"
if they aren't set via dhcp. Hostname and domain have reasonable
defaults of debian and example.com). I tried setting it to medium, and I
had the same results. What I failed to notice is that the isolinux.cfg
has DEBCONF_PRIORITY=critical set as a kernel perameter, which overrides
the preseed file. I changed it, and hopefully it will work (new image is
building now...)

Thanks,
Kenny
 


signature.asc
Description: This is a digitally signed message part


Re: Debian Preseed

2005-04-22 Thread Ed Lawson
On Fri, 22 Apr 2005 13:33:20 -0400
"Kenneth E. Lussier" <[EMAIL PROTECTED]> wrote:

>
> I'm never prompted for the hostname or domain. I can set them
if I put



>
> in my preseed.txt file, 

I have never used a preseed.txt file so am ignorant of that.
However, if I understand you correctly, you can set hostname and
domain in the pressed.txt file and it works.  If you leave the
entries in that file with or without variables, then you will not
be prompted.  So if you want to use your preseed file and be
prompted, then you need to comment out the two d-i lines
involved.
> > What installer are you using?
> 
> I'm using debian-installer and debian-cd to build the images.

I apologize for not asking with the necessary precision.  Are you
using the installer which has been developed for Sarge or are you
using the installer which is used with Woody, the current stable
release?  If the Sarge installer, I assume you are using the
110Meg installer and you have the RC3 version?  I have also
assumed you are using a CD and not floppies.  Have i assumed
incorrectly.

My suggestion would be to go to :

http://www.debian.org/devel/debian-installer/

and get the network installer (110M) RC3.

Check the install docs on that page as well.

The problem I an having is I have always been prompted for a
hostname and domain so we are on different roads it seems.  I am
not sure how you got there I rather suspect it is the use of the
preseed.txt file which is causing you not to see the prompts.

Ed Lawson
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Debian Preseed

2005-04-22 Thread Kenneth E. Lussier
On Fri, 2005-04-22 at 12:24 -0400, Ed Lawson wrote:
> > Does anyone have any experience with debian-installer
> 
> some.
>
>  >Hostname is automatically set to "debian" and the domain
> > portion is left blank.
> 
> Why can't you simply type in the hostname and domain you want?
> 
> Every Debian install I have done has set the
> default hostname to debian, but you simply delete it and type in
> the name you need.  Same with domain name.
> 
> Are you saying you are unable to change the name?  

I'm never prompted for the hostname or domain. I can set them if I put

d-i netcfg/get_hostname string foo
d-i netcfg/get_domain   string bar.com

in my preseed.txt file, but the the hostname is set to "foo" and the
domain is "bar.com". If I leave the line blank after "string", then I'm
never prompted for them, and I get errors saying that "" is an invalid
hostname/domain. I also tried forcing the installation of etherconf as
part of the install using:

base-config base-config/late_command string apt-get install etherconf

but it installs without going through the configuration settings.
Presumably this is because base-config is still running and has control
over the display. 

> What installer are you using?

I'm using debian-installer and debian-cd to build the images.

Thanks,
Kenny


signature.asc
Description: This is a digitally signed message part


Re: Debian Preseed

2005-04-22 Thread Ed Lawson

> Does anyone have any experience with debian-installer

some.

 >Hostname is automatically set to "debian" and the domain
> portion is left blank.

Why can't you simply type in the hostname and domain you want?

Every Debian install I have done has set the
default hostname to debian, but you simply delete it and type in
the name you need.  Same with domain name.

Are you saying you are unable to change the name?  What installer
are you using?

Ed Lawson
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss