#!/bin/sh
set -e

export LC_ALL=C
export PROFILE=Minimal
export DESKTOP=none

echo
echo "Install Debian Edu chroot using profile $PROFILE, then run a script"
echo "to turn this minimal system into a dedicated gateway."
echo
cd $AUTOPKGTEST_TMP
PROFILE=$PROFILE DESKTOP=$DESKTOP /usr/share/debian-edu-config/tools/debian-edu-bless
/usr/share/debian-edu-config/tools/configure-edu-gateway --firewall no
