* Martin Michlmayr <t...@cyrius.com> [2016-02-25 10:40]:
> We read the hostname and store it as $HOSTNAME but then we do:
> 
> add "$FILE" "netcfg/get_hostname" "string" "debian"
> 
> I guess this should be $HOSTNAME (if set) or "debian".  But I'm not
> sure that's even worth fixing now.

Never mind... we do the right thing.

The code I copied was just setting all default values.  But later we
call generate_preseed_file which does

if verify_hostname "$HOSTNAME"; then
        add "$1" "netcfg/get_hostname" "string" "$HOSTNAME"
fi

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to