Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions infrastructure/cdn-in-a-box/traffic_ops/to-access.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ to-enroll() {
MY_IP6_ADDRESS="${MY_IP6_ADDRESS}/64"
fi
export MY_IP6_GATEWAY="$(route -n6 | grep UG | awk '{print $2}')"
local cacheType="${CACHE_SERVER_TYPE:-ATS}"

case "$serverType" in
"db" )
Expand All @@ -213,12 +214,12 @@ to-enroll() {
;;
"edge" )
export MY_TYPE="EDGE"
export MY_PROFILE="EDGE_TIER_ATS_CACHE"
export MY_PROFILE="EDGE_TIER_${cacheType}_CACHE"
export MY_STATUS="REPORTED"
;;
"mid" )
export MY_TYPE="MID"
export MY_PROFILE="MID_TIER_ATS_CACHE"
export MY_PROFILE="MID_TIER_${cacheType}_CACHE"
export MY_STATUS="REPORTED"
;;
"origin" )
Expand Down
Loading