[ec2-beta] motd: "apt-get update" before "tasksel --section server"

John Ferlito johnf at inodes.org
Thu Apr 2 00:22:13 BST 2009


On Wed, Apr 01, 2009 at 03:59:17PM -0700, Eric Hammond wrote:
> Chuck Short wrote:
> > Since its based on the ec2 mirrors there is no noticable difference
> > to the bootup speed when running an apt-get update when the
> > ec2-set-apt-sources list script is ran.
> 
> I just ran three tests using the official Ubuntu Intrepid beta2, and
> "apt-get update" took 23-25 seconds to run against the EC2 Ubuntu
> mirror.  Is that not directly added to the initialization time of a new
> instance?
> 

One option could be to add an @reboot cron entry to perform the update
rather than add it into the init script path. Achieves the same result
but means you can ssh in more quickly.

Of course it means that potentially things are still upgrading in the
background once you login.

Cheers,
John

-- 
John
Blog                        http://www.inodes.org/blog
OLPC Friends                     http://olpcfriends.org





More information about the Ec2-beta mailing list