From 738766778c88bcfe692f8df17f91c4d5c6c90cdd Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 19 Jan 2011 05:20:26 +0000 Subject: support $MIRROR and $RELEASE in apt-source cloud-config lines (LP: #693292) sources can use $MIRROR and $RELEASE and they will be replaced with the local mirror for this cloud, and the running release this: - source: deb $MIRROR $RELEASE multiverse would possibly be turned into: - source: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu natty multiverse LP: #693292 --- doc/examples/cloud-config.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 58082667..a32fd038 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -48,6 +48,12 @@ apt_sources: # See sources.list man page for more information about the format - source: deb http://archive.ubuntu.com/ubuntu karmic-backports main universe multiverse restricted + # sources can use $MIRROR and $RELEASE and they will be replaced + # with the local mirror for this cloud, and the running release + # the entry below would be possibly turned into: + # - source: deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu natty multiverse + - source: deb $MIRROR $RELEASE multiverse + # this would have the same end effect as 'ppa:byobu/ppa' - source: "deb http://ppa.launchpad.net/byobu/ppa/ubuntu karmic main" keyid: F430BBA5 # GPG key ID published on a key server -- cgit v1.2.3