By dkumar on Jun 29, 2008
In some of the Solaris Build 79 based images it may be possible that it doesn't have AMI/API tool bundled.
If the Solaris Build 79 image you are using does not have the Sun
AMI/API tools installed. You can follow the steps below to load/install the
tools on your instance.
The archive of the current tools can be retrieved with the following command:
# curl -O http://s3.amazonaws.com/sun-osol-tools/sun-amiapi-tools-latest.cpio
Once the archive is loaded, the checksum can be easily checked to make sure that you have the right file:
# md5sum sun-amiapi-tools-latest.cpio
Then extract the archive as shown below. Full paths are used in the archive so the tools are always extracted in the same location.
# cpio -icvdum < sun-amiapi-tools-latest.cpio
Once the tools are installed, rebundling can be done as documented in the Sun Amazon EC2 Getting Started Guide.
Note that the guide references mounting disks at /mnt but that is completed automatically in certain AMI's.
The following command can be run to see if there is a preconfigured filesystem at /mnt.
# df -kl /mnt