Running base-config from within first stage installer
I just sat down to test if it is easy to run base-config before the
machine is booted from HD, in other words running from within
debian-installer. It works just fine. I created the following
prebaseconfig.d script as 92base-config. It must be numbered before
95umount and after 92prepare-base-config. It must also run after
15cdrom-detect when installing from CD, to be able to mount the CD
unset DEBIAN_HAS_FRONTEND # Set by debconf
unset DEBCONF_REDIR # Set by debconf
unset DEBIAN_FRONTEND # Just to be sure
unset DEBCONF_FRONTEND # Probably not used any more [pere 2003-01-18]
chroot /target /usr/sbin/termwrap /usr/sbin/base-config < $console > $console
Should this be the default behaviour in d-i, or only an option?
The current prebaseconfig.d scripts when I install from CD is:
Is the ordering OK? Should there be more parts?