To fix that, you just have to add the following line to the script /opt/ibm/tivoli/tpm/repository/vmware-vi3-scripts/config_linux.sh:
#Password setup
echo "${rootpassword}" | passwd --stdin root
# EP start
echo ${hostname} > /etc/hostname
# EP end
# Shutdown
shutdown -h now
With that, TPM 5.1.1 can successfully define the hostname in Ubuntu.
No comments:
Post a Comment