summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml')
-rw-r--r--tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml b/tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml
new file mode 100644
index 00000000..dee9dc70
--- /dev/null
+++ b/tests/cloud_tests/configs/modules/apt_configure_sources_ppa.yaml
@@ -0,0 +1,20 @@
+#
+# Add a PPA to source.list
+#
+cloud_config: |
+ #cloud-config
+ apt:
+ sources:
+ source1:
+ keyid: 0165013E
+ keyserver: keyserver.ubuntu.com
+ source: "ppa:curtin-dev/test-archive"
+collect_scripts:
+ sources.list: |
+ #!/bin/bash
+ cat /etc/apt/sources.list.d/curtin-dev-ubuntu-test-archive-*.list
+ apt-key: |
+ #!/bin/bash
+ apt-key finger
+
+# vi: ts=4 expandtab