summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Goins <paul.goins@canonical.com>2021-05-18 17:02:51 +0000
committerGitHub <noreply@github.com>2021-05-18 12:02:51 -0500
commit1793b8b70ca2e3587c271155033ef943207136ae (patch)
tree119b896a67d8fc0be9bd1c505690c8da50cd3e13 /doc
parent21a0b12052691d6634d0848dfa353c12939945e9 (diff)
downloadvyos-cloud-init-1793b8b70ca2e3587c271155033ef943207136ae.tar.gz
vyos-cloud-init-1793b8b70ca2e3587c271155033ef943207136ae.zip
Added support for importing keys via primary/security mirror clauses (#882)
Presently, mirror keys cannot be associated with primary/security mirrors. Unfortunately, this prevents use of Landscape-managed package mirrors as the mirror key for the Landscape-hosted repository cannot be provided. This patch allows the same key-related fields usable on "sources" entries to be used on the "primary" and "security" entries as well. LP: #1925395
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-apt.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-apt.txt b/doc/examples/cloud-config-apt.txt
index 004894b7..f4392326 100644
--- a/doc/examples/cloud-config-apt.txt
+++ b/doc/examples/cloud-config-apt.txt
@@ -138,6 +138,12 @@ apt:
# the first defining a valid mirror wins (in the order as defined here,
# not the order as listed in the config).
#
+ # Additionally, if the repository requires a custom signing key, it can be
+ # specified via the same fields as for custom sources:
+ # 'keyid': providing a key to import via shortid or fingerprint
+ # 'key': providing a raw PGP key
+ # 'keyserver': specify an alternate keyserver to pull keys from that
+ # were specified by keyid
- arches: [s390x, arm64]
# as above, allowing to have one config for different per arch mirrors
# security is optional, if not defined it is set to the same value as primary