Skip to content

Commit

Permalink
Update cloud-init.yml.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
klar42 authored and remche committed Mar 30, 2023
1 parent 98c15b7 commit 14f712e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/node/files/cloud-init.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ write_files:
# Install jq if not available
JQ_URL=https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
JQ_BIN=/usr/local/bin/jq
which jq 2>&1 > /dev/null || sudo curl -sfL $JQ_URL -o $JQ_BIN && sudo chmod +x $JQ_BIN
which jq 2>&1 > /dev/null || { sudo curl -sfL $JQ_URL -o $JQ_BIN && sudo chmod +x $JQ_BIN ; }

# Fetch target and actual version if already installed
export INSTALL_RKE2_VERSION=$(curl -s http://169.254.169.254/openstack/2012-08-10/meta_data.json|jq -r '.meta.rke2_version')
Expand Down

0 comments on commit 14f712e

Please sign in to comment.