summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_primary.yaml
blob: 41bcf2fd494816dffee7fac304f62604ac69e1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# Setup a custome primary sources.list
#
required_features:
  - apt
  - apt_src_cont
cloud_config: |
  #cloud-config
  apt:
    primary:
      - arches:
          - default
        uri: "http://www.gtlib.gatech.edu/pub/ubuntu-releases/"
collect_scripts:
  ubuntu.sources.list: |
    #!/bin/bash
    grep -v '^#' /etc/apt/sources.list | sed '/^\s*$/d' | grep -c archive.ubuntu.com
  gatech.sources.list: |
    #!/bin/bash
    grep -v '^#' /etc/apt/sources.list | sed '/^\s*$/d' | grep -c gtlib.gatech.edu

  sources.list: |
      #!/bin/bash
      cat /etc/apt/sources.list

# vi: ts=4 expandtab