[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#592550: support for SSH-Key authentication (Supports Eucalyptus and Amazon EC2)

Le Wed, Jul 20, 2011 at 12:55:23PM -0400, Kyle Moffett a écrit :
> On Jul 19, 2011, at 19:22, Charles Plessy wrote:
> > 
> > Since the Amazon EC2 can boot on
> > custom kernels, it looks like that with this patch (or using Petter's
> > workaround), it would be possible to prepare an Amazon Machine Image (AMI) of
> > Debian-Installer itself, boot it from GRUB (through Amazon's kernels using
> > PVGRUB and preseed it via initrd, in order to install Debian on an Amazon
> > Elastic Block.  Is that what you have tried ?
> That is exactly what I have done.
> The actual construction of the AMI containing the Debian-Installer is a bit of
> a pain; I have a shell-script wrapper around the Amazon EC2 tools in order to
> do marshall it into the official EC2 format, but the patches necessary to make
> the SSH Console and Debian-Installer play nicely were surprisingly small.
> Basically, I created a new Debian-Installer image variant with a built-in
> preseed file containing references to the standard Amazon EC2 infrastructure
> for loading SSH keys and downloading additional preseed from EC2 "user-data".

This is really exciting.

I was also wondering if the init and grub scripts that are usually installed on
EC2 images could be properly packaged, so that the creation of an AMI would be a
purely native Debian installation, with d-i preseeding.

If you like the idea, would you be interested to co-maintain such a package,
after inviting the other AMI producers (http://wiki.debian.org/Cloud/AmazonEC2Image) ?
The source package could be team-maintained on Alioth within the collab-maint
project, or incubated in the pkg-escience project for instance.

Have a nice day,

Charles Plessy
Debian Med packaging team,
Tsurumi, Kanagawa, Japan

Reply to: