Comment 38 for bug 418130

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 418130] Re: Karmic EC2 images don't use a karmic kernel

On Sat, Sep 12, 2009 at 04:29:12PM -0000, Chris Lukas wrote:
> this might be superflous at this point,
> but I wanted to see what the smallest number
> of changes necessary to the alpha5 i386
> ami-3520c05c / aki-dc06e6b5 / ari-de06e6b7
> 2.6.31 kernel were needed in order to re-bundle at will.

This is interesting information, but I don't think it's relevant to this
bug.

> echo "EC2_HOME=/usr/lib/ec2-ami-tools
> EC2_PRIVATE_KEY=/appl/pk-V6JAMNSK2VIDB4GUBXK7BFMRQOX2Z43B.pem
> EC2_CERT=/appl/cert-V6JAMNSK2VIDB4GUBXK7BFMRQOX2Z43B.pem
> JAVA_HOME=/usr/lib/jvm/java-6-sun" >> /etc/environment
> . /etc/environment # gets executed on sudo
> echo "deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse" >> /etc/apt/sources.list
> apt-get update
> apt-get install -y unzip sun-java6-jre
> cd $EC2_HOME
> wget https://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
> unzip ec2-api-tools.zip
> rm ec2-api-tools-*/bin/*.cmd
> mv ec2-api-tools-*/bin .
> cp bin/* /usr/bin
> mv ec2-api-tools-*/lib/* lib
> rm -r ec2-api-tools.zip ec2-api-tools-*

What's wrong with "apt-get install ec2-api-tools" instead of these 13 commands?

--
 - mdz