summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_configure_sources_ppa.yaml
blob: 9efdae52ccbd3e70bc127a7adb9c3e31bb16ee58 (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
27
28
29
#
# Add a PPA to source.list
#
# NOTE: on older ubuntu releases the sources file added is named
#       'curtin-dev-test-archive-trusty', without 'ubuntu' in the middle
required_features:
  - apt
  - ppa
  - ppa_file_name
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
  sources_full: |
    #!/bin/bash
    cat /etc/apt/sources.list

# vi: ts=4 expandtab