Ticket #1475 (new defect)
phase2 installer should not assume netcfg values are strings
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | The Distant Future |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
phase 2 runs:
sed "s/ /\n/g" < /proc/cmdline | grep "^netcfg" | sed -e "s/^/d-i /" -e "s/=/ string /" >> preseed
This is arguably wrong, and we should either whitelist the values we expect, or do something saner.
Note: See
TracTickets for help on using
tickets.
Actually, this is only used in install-debathena.sh to set the canonical hostname. We should either decide that we no longer care (since we get the canonical hostname during installation), or do this in a better way.