rimashah25 commented on a change in pull request #5209:
URL: https://github.com/apache/trafficcontrol/pull/5209#discussion_r574728691
##########
File path: infrastructure/cdn-in-a-box/traffic_ops/to-access.sh
##########
@@ -183,8 +182,7 @@ to-enroll() {
export MY_GATEWAY="$(route -n | grep $MY_NET_INTERFACE | grep -E
'^0\.0\.0\.0' | tr -s ' ' | cut -d ' ' -f2)"
MY_NETMASK="$(ifconfig $MY_NET_INTERFACE | grep 'inet ' | tr -s ' ' |
cut -d ' ' -f 5)"
export MY_NETMASK=${MY_NETMASK#"Mask:"}
- MY_IP6_ADDRESS="$(ifconfig $MY_NET_INTERFACE | grep inet6 | grep -i
global | sed 's/addr://' | awk '{ print $2 }')"
- export MY_IP6_ADDRESS=${MY_IP6_ADDRESS%%/*}
Review comment:
Why was this removed?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]