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

Bug#695908: When server host preseed with port number, it failed to get preseed file



Control: tag -1 confirmed

Hi,

thanks for your report.

YunQiang Su <wzssyqa@gmail.com> (14/12/2012):
> Package: debian-installer
> 
> For example, we put preseed on http://mirrors:9999/pxe.seed,
> and dns set domain as example.com, then debian-installer
> will try to download
> 
> http://mirrors:9999.example.com/pxe.seed
> 
> but not
> http://mirrors.example.com:9999/pxe.seed

FWIW that is happening in preseed's auto-install.sh:
| if expr $host : [^.]*$ >/dev/null; then
|         db_get netcfg/get_domain && domain="$RET"
| 
|         if [ -n "$domain" ] && [ "$domain" != "unnassigned-domain" ]; then
|                 host="$host.$domain"
|         fi
| fi

Also:
| ~/debian-installer/packages$ grep unnassigned-domain -r .
| ./preseed/auto-install.sh:    if [ -n "$domain" ] && [ "$domain" != "unnassigned-domain" ]; then
| ~/debian-installer/packages$ grep unassigned-domain -r .
| ./babelbox/preseed.cfg:d-i netcfg/get_domain string unassigned-domain

(Note the extra 'n' in preseed.)

I'm not sure if that's a problem important enough to fix for wheezy,
or if that can wait until the jessie release cycle.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: