From 8ac8629bfe3dcf1168b99baf5c3a3f99d1298eac Mon Sep 17 00:00:00 2001 From: Ian Chesal Date: Wed, 10 May 2023 17:02:33 -0400 Subject: [PATCH 1/2] feat(editorconfig): Add a .editorconfig file to the project Modern editors read this file and use it to enforce formatting consistency in files for a project. See: https://editorconfig.org/ Settings were made accoring to what is written in the CONTRIBUTING.md file. --- .editorconfig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..d630ab92 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +# See: https://editorconfig.org/ + +root = true + +[*] +indent_style = space +indent_size = 4 From 1aba2b14090d2ccaeffe3bdb9d0a187f1bb96b79 Mon Sep 17 00:00:00 2001 From: Ian Chesal Date: Wed, 10 May 2023 17:04:57 -0400 Subject: [PATCH 2/2] 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"