You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if it was meant to be used as an environment variable as part of an automated bash script. I suggest:
token=$(cat /var/lib/rancher/rke2/server/node-token)
The token needs to be copied over to the node the install is on, that variable is only on the initial machine. Or just create your own to use which is what I do and place in /etc/rancher/rke2 directory...
I assume there was a step that was supposed to set the token env variable before these instructions.
2) Setup environment variable for the token
Use the variable below to install an agent (worker) node
curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE="agent" sh -
The text was updated successfully, but these errors were encountered: