summaryrefslogtreecommitdiffstats
path: root/share/hooks/post-start.chown-nvidia.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-27 00:58:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-27 00:58:35 +0000
commit55019ff4757681593a80775526029c2ff1907f5c (patch)
tree947d572f3fa1a14c3809367303850524d94e92da /share/hooks/post-start.chown-nvidia.sh
parentAdding upstream version 20210726. (diff)
downloadopen-infrastructure-compute-tools-55019ff4757681593a80775526029c2ff1907f5c.tar.xz
open-infrastructure-compute-tools-55019ff4757681593a80775526029c2ff1907f5c.zip
Adding upstream version 20210727.upstream/20210727
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/hooks/post-start.chown-nvidia.sh')
-rwxr-xr-xshare/hooks/post-start.chown-nvidia.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hooks/post-start.chown-nvidia.sh b/share/hooks/post-start.chown-nvidia.sh
index 64c02cc..2a99bd3 100755
--- a/share/hooks/post-start.chown-nvidia.sh
+++ b/share/hooks/post-start.chown-nvidia.sh
@@ -19,6 +19,10 @@
set -e
+PROJECT="open-infrastructure"
+SOFTWARE="compute-tools"
+PROGRAM="container"
+
CONTAINER="/var/lib/machines"
if grep -qs nvidia "${CONTAINER}/${NAME}/etc/group"