Skip to content

Commit

Permalink
Merge pull request #57 from jakefhyde/default-rke2-data-dir
Browse files Browse the repository at this point in the history
Default RKE2 data-dir
  • Loading branch information
jakefhyde authored Jul 1, 2024
2 parents 656205c + eab8afd commit 1b9591b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ check_target_ro() {
test $? -ne 0
}

RKE2_DATA_DIR=${RKE2_DATA_DIR:-/var/lib/rancher/rke2}
mkdir -p ${RKE2_DATA_DIR}

SAI_FILE_DIR="${RKE2_DATA_DIR}/system-agent-installer"
Expand Down

0 comments on commit 1b9591b

Please sign in to comment.