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.

Friday, September 25, 2009

Creating Extended Attributes with the TDI IdML Connector


As you know, the IdML Connector can be used to create (guess what...) an IdML!

The tags in the IdML comply to the Common Data Model, and when they are written to the XML file, they are preceded with the "cdm:".

TADDM has the concept of Extended Attribute. The question is: how to specify an extended attributes using the IDML Connector?

The answer is simple, Vince: In the Attribute Connector area, create an attribute whose name starts with "extattr:". The IDML Connector treats these attributes differently: it doesn't try to find a corresponding attribute in the Common Data Model, but simply copies them to the XML file.

Go, have fun with the IDML Connector!