~smoser/ec2-init/ec2-init.devel

Viewing all changes in revision 128.

  • Committer: Scott Moser
  • Date: 2010-01-26 21:40:10 UTC
  • Revision ID: smoser@ubuntu.com-20100126214010-6jkp07u571wfeun1
move writing sources.list to CloudConfig. add 'apt_preserve_sources_list'

Move the writing of sources.list to CloudConfig.  This way we have
access to the cloud-config user data.  Then, allow the user
to specify the archive mirror using 'apt_mirror' key. 

Now, if specified in cloud-config, that is used, otherwise, we 
get one from the DataSource.

One other change here is adding 'apt_preserve_sources_list'.  If set to
true, then overwriting of the sources.list with the selected mirror
will not be done.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: