VMware Cloud Foundation 4.3
Beginning with VCF 4.3, bash history is disabled as part of security hardening implementations. The mechanism creates /etc/profile.d/disable.history.sh containing set +o history, which suppresses bash history recording for all shell sessions.
To re-enable bash history, perform one of the following options:
set -o history
mv /etc/profile.d/disable.history.sh /etc/profile.d/disable.history.sh.bak
echo 'set -o history' > /etc/profile.d/enable.history.sh
echo 'HISTFILESIZE=10000' >> /etc/profile.d/enable.history.sh