From eab8afd951ed428b3518836532e551b37189821c Mon Sep 17 00:00:00 2001 From: Jake Hyde Date: Mon, 1 Jul 2024 13:39:15 -0400 Subject: [PATCH] Default RKE2 data-dir --- package/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/run.sh b/package/run.sh index 45ba18f..edd12ff 100755 --- a/package/run.sh +++ b/package/run.sh @@ -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"