Ticket #1475 (new defect)

Opened 10 years ago

Last modified 10 years ago

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.

Change History

comment:1 Changed 10 years ago by jdreed

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.

Note: See TracTickets for help on using tickets.