Log IPv6 configuration status for tinycore

We're seeing some job failures with IPv6 when tinycore is
getting pulled in for rackspace hosts. The underlying issue
appears to be that we don't have an IPv6 route in the kernel.

First step, get more data.

Change-Id: I5b478893a2f114bdbeee53af5f44dc8139b02c52
This commit is contained in:
Julia Kreger 2020-07-28 06:25:34 -07:00
parent 5c9bc36232
commit 040e5f2ce0
1 changed files with 8 additions and 1 deletions

View File

@ -54,7 +54,14 @@ configure_dhcp_network() {
/sbin/udhcpc -b -p ${pidfile} -i ${interface} -s /opt/udhcpc.script >> /var/log/udhcpc.log 2>&1
done
echo "Completed DHCP client restart"
ip addr && true
echo "Outputting IP and Route information"
ip addr || true
ip route || true
ip -6 route || true
echo "Logging IPv4 sysctls"
sysctl -a |grep ipv4 || true
echo "Logging IPv6 sysctls"
sysctl -a |grep ipv6 || true
}
# Configure networking, use custom udhcpc script to handle MTU option