summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_configure_disable_suites.yaml
blob: 98800673f7fd6ae270622a6b5e0b47d8151895d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Disables everything in sources.list
#
required_features:
  - apt
  - lsb_release
cloud_config: |
  #cloud-config
  apt:
    disable_suites:
      - $RELEASE
      - $RELEASE-updates
      - $RELEASE-backports
      - $RELEASE-security
collect_scripts:
  sources.list: |
    #!/bin/bash
    grep -v '^#' /etc/apt/sources.list | sed '/^\s*$/d'

# vi: ts=4 expandtab