diff options
author | Sven Nierlein <sven@nierlein.de> | 2021-10-25 14:55:50 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2021-10-25 16:21:59 +0200 |
commit | a96161c824f7f97830f4aa4daa166013961d55f1 (patch) | |
tree | 5d6253ab78fca5a69e4a511b82178e3f20396173 | |
parent | 03028d23b6c59bcb4000bc70209593afd798dfe3 (diff) | |
download | monitoring-plugins-a96161c.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.yml | 1 |
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: | |||
35 | -e NPTEST_CACHE="/src/.github/NPTest.cache" \ | 35 | -e NPTEST_CACHE="/src/.github/NPTest.cache" \ |
36 | -w /src -v ${PWD}:/src \ | 36 | -w /src -v ${PWD}:/src \ |
37 | --tmpfs /media/ramdisk1 \ | 37 | --tmpfs /media/ramdisk1 \ |
38 | -v /var/run/utmp:/var/run/utmp \ | ||
38 | --mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \ | 39 | --mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \ |
39 | ${{ matrix.distro }} \ | 40 | ${{ matrix.distro }} \ |
40 | /bin/sh -c '${{ matrix.prepare }} && \ | 41 | /bin/sh -c '${{ matrix.prepare }} && \ |