I am installing ESXi 6.5U1
using PXE, and the process works fine except when I attempt to disable IPv6 as part of the post install script.
Here is the syntax that I am using in the ks.cfg file:
# Disable IPv6 and reboot
%post --interpreter=busybox --ignorefailure=true
esxcli system module parameters set -m tcpip4 -p ipv6=0
esxcli network ip set --ipv6-enabled=false
esxcli system shutdown reboot
The installation stops with an [Error 256] message but you
can continue through it and complete the install. IPv6 must then be disabled manually via the
console. Can anyone tell me what is wrong with my syntax?