From 449ed13767ceb49b870e5833232dedc908a03b26 Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Sat, 3 Aug 2024 23:37:19 +0900 Subject: [PATCH] bootstrap: Verify sudo (#246) --- nomad-acl-bootstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nomad-acl-bootstrap b/nomad-acl-bootstrap index 48a29db..ab9fb39 100755 --- a/nomad-acl-bootstrap +++ b/nomad-acl-bootstrap @@ -1,6 +1,8 @@ #!/bin/bash set -euo pipefail; IFS=$'\n\t' +sudo -v + # Wait Nomad until nomad acl policy list > /dev/null; do sleep 1; done;