summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-03 22:56:45 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-03 22:56:45 -0400
commit6c0fc6df1cc332dc3d322961297f8219a3a3048b (patch)
tree53a60f7f8f74aad92846f71f47b8dd800e0e674c /doc/examples
parentbc9bd58d1533d996029770da758f73217c15af33 (diff)
downloadvyos-cloud-init-6c0fc6df1cc332dc3d322961297f8219a3a3048b.tar.gz
vyos-cloud-init-6c0fc6df1cc332dc3d322961297f8219a3a3048b.zip
tests: fix apt tests to run inside ubuntu build environment
This just mocks out use of lsb_release as it is not available in a build environment. Additionally mocks out use of getkeybyid. This admittedly makes the test for a long key fingerprint not useful as it was broken only inside getkeybyid. Also fix 'make yaml' for cloud-config.txt
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index 62b297bc..3cc9c055 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -125,11 +125,11 @@ add_apt_repo_match: '^[\w-]+:\w'
# better merging between multiple input files than a list like:
# cloud-config1
# sources:
- s1: {'key': 'key1', 'source': 'source1'}
+# s1: {'key': 'key1', 'source': 'source1'}
# cloud-config2
# sources:
- s2: {'key': 'key2'}
- s1: {filename: 'foo'}
+# s2: {'key': 'key2'}
+# s1: {filename: 'foo'}
# this would be merged to
#sources:
# s1: