diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-01-19 05:20:26 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-01-19 05:20:26 +0000 |
commit | 738766778c88bcfe692f8df17f91c4d5c6c90cdd (patch) | |
tree | 2562517fdbdfa818fa4b7ad1cdc3ea1071274349 /doc/examples/cloud-config.txt | |
parent | b85106a10a78e4c15303ac3b9b16d03a3f2f9cab (diff) | |
download | vyos-cloud-init-738766778c88bcfe692f8df17f91c4d5c6c90cdd.tar.gz vyos-cloud-init-738766778c88bcfe692f8df17f91c4d5c6c90cdd.zip |
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
Diffstat (limited to 'doc/examples/cloud-config.txt')
-rw-r--r-- | doc/examples/cloud-config.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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 |