[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



Cyril Brulebois <kibi@debian.org> (25/12/2012):
> 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.

Philip Hands kindly proposed some patches to fix that. To try and
lower the odds of breaking things, I've implemented a minimal test
suite which triggers this problem with the old code, and confirms the
patches fix it. I've just released preseed/1.57 accordingly.

debian-boot@ people: feel free to expand the testsuite!

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: