Comment 20 for bug 615545

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 615545] Re: Instances launched in a VPC cannot access ec2.archive.ubuntu.com

On Thu, 26 Jan 2012, Clint Byrum wrote:

> Excerpts from Noah's message of Thu Jan 26 11:26:08 UTC 2012:

> You can achieve this with a cloud-init userdata section by specifying the
> apt mirror. This is all that is needed:
>
> #cloud-config
> apt_mirror: http://uk.archive.ubuntu.com/ubuntu/

Noah was pointing out that cloud-init in 10.04 does not have that option,
so ... you kind of need to hack with 'sed' there.