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

Re: Problems preseeding static ip with netcfg



On Thu, Dec 30, 2004 at 03:09:26PM +0300, Mikhail L. Titov wrote:
> On Thu, Dec 30, 2004 at 12:17:35PM +0100, Geert Stappers wrote:
> > On Fri, Dec 24, 2004 at 05:46:08PM +0300, mlt@iab.ac.ru wrote:
> > > Hello.
> > > 
> > > I have tried to preseed netcfg with static ip configuration
> > > while installing from cdrom with daily build of d-i with 2.6 kernel.
> > 
> > (CDROM and preseeding is strange combination to me)
> > How did you provide the preseed information?
> > 
> I want a small CD with few custom packages, which installs silently.
> I have appended preseed/file=/cdrom/preseed in isolinux.cfg .
Okay, you are building your own iso images.

> > > An excerpt from my preseed file:
> > > d-i     anna/choose_modules     multiselect     baseconfig-udeb: Run base-config from within debian-installer, netcfg-static: Configure a static network
> > 
> > (strange syntax to me)
> > What are you doing there?
> > 
> As I understood I am to load udeb with netcfg-static to setup network configuration manually.
> With that line I just select additional d-i components, namely, netcfg-static.
Now I see. 'netcfg/use_dhcp=false' does the same.

> One can install once manually and then see debconf-get-selections --installer results. I got it from there.
Mmm, this is from the d-i manual:

| Alternatively, one way to get a complete file listing all the values
| that can be preseeded is to do a manual install,
| and then use debconf-get-selections, from the debconf-utils package,
| to dump both the debconf database and the cdebconf database
| in /var/log/debian-installer/cdebconf to a single file:
| 
| debconf-get-selections --installer > file
| debconf-get-selections >> file
| 
| However, a file generated in this manner will have some items
| that should not be preseeded,
| and the file in Section C.1, "Preconfiguration File Example"
| is a better starting place for most users. 

And repeating this part:

| However, a file generated in this manner will have some items
| that should not be preseeded,
| and the file in Section C.1, "Preconfiguration File Example"
| is a better starting place for most users. 

> But for me it even would be better if I could
> skip network configuration during installation at all.. neither dhcp, nor static.

I don't know if that is possible.

> 
> btw It was said that there is a bug #282650 about incorrect preseeding gateway.

Acknowledge


Cheers
Geert Stappers

Attachment: signature.asc
Description: Digital signature


Reply to: