We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5a2dc commit a7651d5Copy full SHA for a7651d5
node/cloud-init.yaml.tpl
@@ -24,7 +24,6 @@ packages:
24
- ncdu
25
- htop
26
- curl
27
- - jq
28
- logrotate
29
- nfs-client
30
- fio
@@ -85,9 +84,6 @@ write_files:
85
84
export INSTALL_RKE2_VERSION=${rke2_version}
86
which rke2 >/dev/null 2>&1 && RKE2_VERSION=$(rke2 --version | head -1 | cut -f 3 -d " ")
87
if ([ -z "$RKE2_VERSION" ]) || ([ -n "$INSTALL_RKE2_VERSION" ] && [ "$INSTALL_RKE2_VERSION" != "$RKE2_VERSION" ]); then
88
- RKE2_ROLE=$(curl -s http://169.254.169.254/openstack/2012-08-10/meta_data.json | jq -r '.meta.rke2_role')
89
- RKE2_SERVICE="rke2-$RKE2_ROLE.service"
90
- echo "Installing RKE2 $INSTALL_RKE2_VERSION with $RKE2_ROLE role"
91
curl -sfL https://get.rke2.io | sh -
92
fi
93
%{ if is_server ~}
0 commit comments