# Enable our apt sources on CD, DVD and PXE installs.
# Must run before 020-apt-get-update
case "$MODE" in
    configure)
        # Skip mirror check if installing from our unsigned CD.
        if [ file:///media/cdrom = "$option_mirror_value" ] ; then
            echo "Detected CD install, disabling APT repository checking."
            LTSP_CDROM_INSTALL=true
            APT_GET_OPTS="$APT_GET_OPTS \
                           --allow-unauthenticated -o acquire::check-valid-until=0"
        fi
        ;;
esac
