aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.de> 2021-10-25 14:55:50 +0200
committerGravatar Sven Nierlein <sven@nierlein.org> 2021-10-25 16:21:59 +0200
commita96161c824f7f97830f4aa4daa166013961d55f1 (patch)
tree5d6253ab78fca5a69e4a511b82178e3f20396173
parent03028d23b6c59bcb4000bc70209593afd798dfe3 (diff)
downloadmonitoring-plugins-a96161c824f7f97830f4aa4daa166013961d55f1.tar.gz
actions: map utmp from host to container
this fixes the check_users not having any logged in user to check.
-rw-r--r--.github/workflows/test.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 512d28e6..0f93930a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,6 +35,7 @@ jobs:
-e NPTEST_CACHE="/src/.github/NPTest.cache" \
-w /src -v ${PWD}:/src \
--tmpfs /media/ramdisk1 \
+ -v /var/run/utmp:/var/run/utmp \
--mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \
${{ matrix.distro }} \
/bin/sh -c '${{ matrix.prepare }} && \