Hi all,
For those of you building AI images based on the latest
slim_source or updating your AI servers with the latest
SUNWinstalladm-tools, you will hit an issue due to bug ID 7305. Everyone
else can ignore this.
The impact of not having SUNWauto-install-common installed is
breaking installadm(1) for an AI server, or breaking the AI install
process for an AI client. The signature for a broken AI client is the AI
service failing and in the SMF log a Python ImportError:
ImportError: No module named auto_install.ai_get_manifest
The work around for an AI server, is to ensure
SUNWauto-install-common is installed when using any SUNWinstalladm-tools
made after 03/09 19:05 MT or changeset 467.
The work around for generating an AI image, is to ensure
SUNWauto-install-common is installed on the image. This can be done with a
finalizer script in the DC manifest which installs the SysV version of
SUNWauto-install-common.
Steps:
Download the finalizer script from:
http://opensolaris.org/os/project/frosug/meetings/frosug-090226-SysVFinalizer.sh
Create the finalizer's config file:
echo 'PKG_PATH=<absolute path to slim_source>/packages/i386/nightly-nd/\
SUNWauto-install-common' > /tmp/pkgs_to_add
Add this block into your DC manifest as the first finalizer script
(right below the <finalizer> XML section):
<script name="<absolute path to pkg_finalizer.ksh script>">
<checkpoint
name="sysV_pkg_add"
message="Add sysV packages"/>
</script>
Thank you,
Clay