summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest/prepare.sh
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-06-24 16:37:25 +0200
committerlassulus <lass@lassul.us>2017-06-24 16:37:25 +0200
commitea2cd88ed355aa58e527cac6b3dcd7e3c524e730 (patch)
treee4775e195789bc8ca08eb9f55bb8a0dc38e57c8a /krebs/4lib/infest/prepare.sh
parentc759f783126a04db13c20a76d170b345bfa1052e (diff)
k 4 infest prepare: add stockholm as supported OS
Diffstat (limited to 'krebs/4lib/infest/prepare.sh')
-rw-r--r--krebs/4lib/infest/prepare.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index 3f5d66431..50d521e17 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -43,6 +43,13 @@ prepare() {(
exit
esac
;;
+ stockholm)
+ case $(cat /proc/cmdline) in
+ *' root=LABEL=NIXOS_ISO '*)
+ prepare_nixos_iso "$@"
+ exit
+ esac
+ ;;
esac
elif test -e /etc/centos-release; then
case $(cat /etc/centos-release) in