various fixes
[automated-distro-installer] / fai / config / class / 50-host-classes
index f8e46de7fbe8560d026bccb7eebf4151a3acb483..12349be3c298ae578213f97def5256207f54903c 100755 (executable)
 #     esac
 # fi
 #
-if [[ -e /a/bin/fai/fai-wrapper ]] && isdebian-stable; then
-    echo "STABLE"
+if [[ -e /a/bin/fai/fai-wrapper ]]; then
+    source /a/bin/distro-functions/src/identify-distros
+    if isdebian-stable; then
+        echo "STABLE"
+    fi
 fi
 
 # use a list of classes for our demo machine