Skip to content

Commit e61cb77

Browse files
committed
chore: use sha256 for firezone id
1 parent 46c65a7 commit e61cb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cloud-init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runcmd:
4040
# Install Firezone Gateway early to allow healthcheck to succeed.
4141
- |
4242
export FIREZONE_TOKEN="${firezone_token}"
43-
export FIREZONE_ID="$(uuidgen)"
43+
export FIREZONE_ID="$(head -c /dev/urandom | sha256)"
4444
export FIREZONE_API_URL="${firezone_api_url}"
4545
export FIREZONE_VERSION="${firezone_version}"
4646
export FIREZONE_ARTIFACT_URL="${firezone_artifact_url}"

0 commit comments

Comments
 (0)