summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 09:26:27 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 09:26:27 +0200
commita6282380814750851c0dc2ac2d4d3386eb6fcce4 (patch)
tree4cd4a4a43150581dce0828820881d3090cdc4f37 /doc/examples
parentcca640d332eb8a6b068033a28b0b319873c7fbf6 (diff)
downloadvyos-cloud-init-a6282380814750851c0dc2ac2d4d3386eb6fcce4.tar.gz
vyos-cloud-init-a6282380814750851c0dc2ac2d4d3386eb6fcce4.zip
update doc/examples/cloud-config.txt with new key-without-source cases
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index 1236796c..f84d526d 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -111,12 +111,14 @@ apt_sources:
keyid: F430BBA5 # GPG key ID published on a key server
filename: byobu-ppa.list
+ # this would only import the key without adding a ppa or other source spec
+ - keyid: F430BBA5 # GPG key ID published on a key server
+
# Custom apt repository:
# * The apt signing key can also be specified
# by providing a pgp public key block
# * Providing the PBG key here is the most robust method for
# specifying a key, as it removes dependency on a remote key server
-
- source: deb http://ppa.launchpad.net/alestic/ppa/ubuntu karmic main
key: | # The value needs to start with -----BEGIN PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
@@ -132,6 +134,24 @@ apt_sources:
=Y2oI
-----END PGP PUBLIC KEY BLOCK-----
+ # Custom gpg key:
+ # * As the keyid also a key can be specified withut a related source
+ # * all other facts mentioned above still apply
+ - key: | # The value needs to start with -----BEGIN PGP PUBLIC KEY BLOCK-----
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: SKS 1.0.10
+
+ mI0ESpA3UQEEALdZKVIMq0j6qWAXAyxSlF63SvPVIgxHPb9Nk0DZUixn+akqytxG4zKCONz6
+ qLjoBBfHnynyVLfT4ihg9an1PqxRnTO+JKQxl8NgKGz6Pon569GtAOdWNKw15XKinJTDLjnj
+ 9y96ljJqRcpV9t/WsIcdJPcKFR5voHTEoABE2aEXABEBAAG0GUxhdW5jaHBhZCBQUEEgZm9y
+ IEFsZXN0aWOItgQTAQIAIAUCSpA3UQIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheAAAoJEA7H
+ 5Qi+CcVxWZ8D/1MyYvfj3FJPZUm2Yo1zZsQ657vHI9+pPouqflWOayRR9jbiyUFIn0VdQBrP
+ t0FwvnOFArUovUWoKAEdqR8hPy3M3APUZjl5K4cMZR/xaMQeQRZ5CHpS4DBKURKAHC0ltS5o
+ uBJKQOZm5iltJp15cgyIkBkGe8Mx18VFyVglAZey
+ =Y2oI
+ -----END PGP PUBLIC KEY BLOCK-----
+
+
## apt config via system_info:
# under the 'system_info', you can further customize cloud-init's interaction
# with apt.