Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove csi-nasty-hack
Browse files Browse the repository at this point in the history
lens0021 committed Feb 28, 2024
1 parent 38e97df commit 282a13d
Showing 4 changed files with 0 additions and 67 deletions.
10 changes: 0 additions & 10 deletions nomad-acl-bootstrap
Original file line number Diff line number Diff line change
@@ -16,13 +16,3 @@ cat <<< 'export NOMAD_TOKEN=$(sudo cat /etc/nomad.d/token)' >> "$HOME/.bashrc"

# Print the token to stdout
echo "Nomad ACL Secret ID = $NOMAD_TOKEN"

# Set a nasty cron for the bug https://github.com/hashicorp/nomad/issues/10927
GIT_REPO=$(dirname "$0")
cp "${GIT_REPO}/systemd/csi-nasty-hack.service" /etc/systemd/system/
cp "${GIT_REPO}/systemd/csi-nasty-hack.timer" /etc/systemd/system/
cp "${GIT_REPO}/systemd/csi-nasty-hack" /etc/nomad.d/

# Start the service and the timer
systemctl daemon-reload
systemctl enable --now csi-nasty-hack.timer
37 changes: 0 additions & 37 deletions systemd/csi-nasty-hack

This file was deleted.

10 changes: 0 additions & 10 deletions systemd/csi-nasty-hack.service

This file was deleted.

10 changes: 0 additions & 10 deletions systemd/csi-nasty-hack.timer

This file was deleted.

0 comments on commit 282a13d

Please sign in to comment.