summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/examples/add_apt_repositories.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/configs/examples/add_apt_repositories.yaml')
-rw-r--r--tests/cloud_tests/configs/examples/add_apt_repositories.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/cloud_tests/configs/examples/add_apt_repositories.yaml b/tests/cloud_tests/configs/examples/add_apt_repositories.yaml
new file mode 100644
index 00000000..b8964357
--- /dev/null
+++ b/tests/cloud_tests/configs/examples/add_apt_repositories.yaml
@@ -0,0 +1,21 @@
+#
+# From cloud config examples on cloudinit.readthedocs.io
+#
+# 2016-11-17: Disabled as covered by module based tests
+#
+enabled: False
+cloud_config: |
+ #cloud-config
+ apt:
+ primary:
+ - arches: [default]
+ uri: "http://www.gtlib.gatech.edu/pub/ubuntu-releases/"
+collect_scripts:
+ ubuntu.sources.list: |
+ #!/bin/bash
+ cat /etc/apt/sources.list | grep -v '^#' | sed '/^\s*$/d' | grep archive.ubuntu.com | wc -l
+ gatech.sources.list: |
+ #!/bin/bash
+ cat /etc/apt/sources.list | grep -v '^#' | sed '/^\s*$/d' | grep gtlib.gatech.edu | wc -l
+
+# vi: ts=4 expandtab