#echo REPARTITION
case $HOSTNAME in
- frodo|treetowl)
- if [[ -e /a/bin/fai/fai-wrapper ]] && isdebian-stable; then
- echo "STABLE_NONFREE"
+ lj|lj) echo "STABLE STABLE_LINODE" ;;
+ *)
+ if [[ -e /a/bin/fai/fai-wrapper ]] && isdebian; then
+ if isdebian-stable; then
+ # nonfree repo is not going away any time soon due to
+ # gcc-doc being in nonfree
+ echo "STABLE_NONFREE"
+ elif isdebian-testing; then
+ echo "TESTING_NONFREE"
+ fi
fi
;;
- lj|lj)
- echo "STABLE STABLE_LINODE" ;;
esac
if grep ^52:54:00: /sys/class/net/eth0/address &>/dev/null; then