summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_security.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/configs/modules/apt_configure_security.yaml')
-rw-r--r--tests/cloud_tests/configs/modules/apt_configure_security.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/cloud_tests/configs/modules/apt_configure_security.yaml b/tests/cloud_tests/configs/modules/apt_configure_security.yaml
new file mode 100644
index 00000000..f6a2c828
--- /dev/null
+++ b/tests/cloud_tests/configs/modules/apt_configure_security.yaml
@@ -0,0 +1,15 @@
+#
+# Add security to sources.list
+#
+cloud_config: |
+ #cloud-config
+ apt:
+ security:
+ - arches:
+ - default
+collect_scripts:
+ sources.list: |
+ #!/bin/bash
+ grep -c security.ubuntu.com /etc/apt/sources.list
+
+# vi: ts=4 expandtab