X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F50-host-classes;h=31f3f9a99d1ee69e9ce67f6fe3f9967dc92ed0d0;hp=278bcce785df60383646fa068bbbd1281b26d2b7;hb=1fe036ae3d279dbd1d60bef38dc42154507892c4;hpb=a018c3030b0ebd751d5667efd96c2fd32f2423e0 diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index 278bcce..31f3f9a 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -75,13 +75,18 @@ echo "FAIBASE" #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