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
Copy file name to clipboardExpand all lines: install.sh
+11-2
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ FALLBACK=v0.2.9
50
50
CACERTS_PATH=cacerts
51
51
RETRYCOUNT=4500
52
52
APPLYINATOR_ACTIVE_WAIT_COUNT=60 # If the system-agent is unhealthy but had created an interlock file to indicate it was actively applying a plan, after 5 minutes, ignore the interlock.
53
+
DEFAULT_BIN_PREFIX=/usr/local
53
54
54
55
# info logs the given argument at info log level.
55
56
info() {
@@ -74,12 +75,12 @@ fatal() {
74
75
75
76
# check_target_mountpoint return success if the target directory is on a dedicated mount point
76
77
check_target_mountpoint() {
77
-
mountpoint -q "${CATTLE_AGENT_BIN_PREFIX}"
78
+
mountpoint -q "${DEFAULT_BIN_PREFIX}"
78
79
}
79
80
80
81
# check_target_ro returns success if the target directory is read-only
0 commit comments