Wednesday, September 30, 2009

How to make TPM 5.1.1 configure a Ubuntu machine properly

As you know, TPM 5.1.1 can deploy RedHat and SuSE. What about the popular distro Ubuntu? The answer is: the TPM 5.1.1 workflow, as the hostname is not properly changed in Ubuntu.

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: