profile for Gajendra D Ambi on Stack Exchange, a network of free, community-driven Q&A sites

Monday, July 20, 2015

Get that damn ipv6 disabled if you are not using it on ESXi

So if you are someone who build data centers and very often have to disable ipv6 as a security measure since you are not using them. Well the problem is after you do that you have to reboot these suckers, otherwise they won't be seen as ipv6 disabled in whatever report that you are using. If you are one of those lucky fellas using scripted auto install then just throw this line in the kickstart file and it will save you a lot of hassle, otherwise you have to
disable ipv6 on each host
exit maintenance mode
hit reboot
enter the reason for reboot
reboot
enter the host in maintenance mode.
Too much work if you ask me for a lazy sheep like me. So here you go. This is the magic line
esxcli system module parameters set -m tcpip4 -p ipv6=0
Thanks william lam. you are really something.

No comments:

Post a Comment