Listing 3 Debconf-dump-settings.sh is a simple script
to generate a reference for an installed system
#!/bin/sh
# debconf-dump-settings.sh is a simple shell script to dump
# human-manageable output from debconf-get-selections to a file in
# /root. It's been created to simplify post-installation debugging
# of automatically-installed systems.
debconf-get-selections --install >/var/log/debian-installer/selections
debconf-get-selections >>/var/log/debian-installer/selections;
cp /var/log/debian-installer/selections /tmp
cat /tmp/selections | sort | grep -v "^#" | uniq >/root/selections-tidy |