From 1aba2b14090d2ccaeffe3bdb9d0a187f1bb96b79 Mon Sep 17 00:00:00 2001 From: Ian Chesal Date: Wed, 10 May 2023 17:04:57 -0400 Subject: [PATCH] feat(cos): Add detection for Google's Container-Optimized OS --- include/osdetection | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osdetection b/include/osdetection index 989b1b38..eeeb120d 100644 --- a/include/osdetection +++ b/include/osdetection @@ -208,6 +208,11 @@ OS_NAME="CoreOS Linux" OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') ;; + "cos") + LINUX_VERSION="Container-Optimized OS" + OS_NAME="Container-Optimized OS from Google" + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "debian") LINUX_VERSION="Debian" OS_NAME="Debian"