Skip to content

Commit

Permalink
fix: modify install cluster script
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
zzzhangqi committed Sep 10, 2024
1 parent 4cac481 commit d05d4f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/install-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ parse_args() {
shift 1
;;
"--external-ip")
RKE2_NODE_EXTERNAL_IP="node-external-ip: $2"
RKE2_NODE_EXTERNAL_IP="$2"
RKE2_NODE_EXTERNAL_IP_CONF="node-external-ip: $2"
shift 2
;;
"--internal-ip")
Expand Down Expand Up @@ -249,7 +250,7 @@ node-ip: ${RKE2_NODE_INTERNAL_IP:-${RKE2_NODE_IPS}}
token: ${RKE2_TOKEN}
disable:
- rke2-ingress-nginx
${RKE2_NODE_EXTERNAL_IP}
${RKE2_NODE_EXTERNAL_IP_CONF}
${RKE2_SERVER_URL}
${INSTALL_RKE2_IMAGE_REPOSITORY}
EOL
Expand Down

0 comments on commit d05d4f2

Please sign in to comment.