diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-27 00:53:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-07-27 00:53:38 +0000 |
commit | bb9b455e970c80cb438cb842ec9ce00f886e0fda (patch) | |
tree | e9af1550e5fbda93bef728c8e3b23db0bde945da | |
parent | Supporting /etc/compute-tools/container.conf.d. (diff) | |
download | compute-tools-bb9b455e970c80cb438cb842ec9ce00f886e0fda.tar.xz compute-tools-bb9b455e970c80cb438cb842ec9ce00f886e0fda.zip |
Adding boliderplate variables in post-start.chown-nvidia.sh example hook for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/hooks/post-start.chown-nvidia.sh | 4 |
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" |