question re netcfg/dhcp_timeout

View: New views
2 Messages — Rating Filter:   Alert me  

question re netcfg/dhcp_timeout

by Vincent McIntyre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I noticed a small discrepancy in the type for this question.

packages/netcfg/debian/netcfg-dhcp.template says:
   Template: netcfg/dhcp_timeout
   Type: text
   Description: for internal use; can be preseeded
    Timeout for trying DHCP
   Default: 15

but the documentation[1] says:

   # If you have a slow dhcp server and the installer times out waiting for
   # it, this might be useful.
   #d-i netcfg/dhcp_timeout string 60

Is the difference between text and string significant to 'd-i'?
I notice localechooser uses 'Type: string' in some places and
'text' in others.

Cheers
Vince

[1] http://d-i.alioth.debian.org/manual/en.i386/apbs04.html


--
To UNSUBSCRIBE, email to debian-boot-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: question re netcfg/dhcp_timeout

by Frans Pop-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 06 November 2009, Vincent McIntyre wrote:

> I noticed a small discrepancy in the type for this question.
>
> packages/netcfg/debian/netcfg-dhcp.template says:
>    Template: netcfg/dhcp_timeout
>    Type: text
>    Description: for internal use; can be preseeded
>     Timeout for trying DHCP
>    Default: 15
>
> but the documentation[1] says:
>
>    # If you have a slow dhcp server and the installer times out waiting
> for # it, this might be useful.
>    #d-i netcfg/dhcp_timeout string 60
>
> Is the difference between text and string significant to 'd-i'?
> I notice localechooser uses 'Type: string' in some places and
> 'text' in others.

The template should be type string, but apparently cdebconf does not go
crazy over it being incorrect. I've corrected it in SVN. Thanks.

Cheers,
FJP


--
To UNSUBSCRIBE, email to debian-boot-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...