cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #00703
[Merge] lp:~evarlast/cloud-init/add-apt_sources-docs-to-rtd into lp:cloud-init
Jay R. Wren has proposed merging lp:~evarlast/cloud-init/add-apt_sources-docs-to-rtd into lp:cloud-init.
Requested reviews:
cloud init development team (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~evarlast/cloud-init/add-apt_sources-docs-to-rtd/+merge/264312
Documentation addition
--
Your team cloud init development team is requested to review the proposed merge of lp:~evarlast/cloud-init/add-apt_sources-docs-to-rtd into lp:cloud-init.
=== modified file 'doc/examples/cloud-config-add-apt-repos.txt'
--- doc/examples/cloud-config-add-apt-repos.txt 2013-01-25 02:41:26 +0000
+++ doc/examples/cloud-config-add-apt-repos.txt 2015-07-09 16:41:23 +0000
@@ -32,3 +32,16 @@
- http://local-mirror.mydomain
- http://archive.ubuntu.com
apt_mirror_search_dns: False
+
+# apt_sources:
+# add a ppa or sources.list entry
+#
+# the apt_sources values are passed to add-apt-repository.
+apt_sources:
+ - source: "ppa:smoser/ppa"
+
+# For non-ppa values, a key needs to be added via apt-key add - first.
+bootcmd:
+ - curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
+apt_sources:
+ - source: "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main"
Follow ups