summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_sources_keyserver.yaml
blob: 1a4a238fd0af3457b76498014e2da96042a660be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Add a sources.list entry with a key from a keyserver
#
cloud_config: |
  #cloud-config
  apt:
    sources:
      source1:
        keyid: 0165013E
        keyserver: keyserver.ubuntu.com
        source: "deb http://ppa.launchpad.net/cloud-init-dev/test-archive/ubuntu $RELEASE main"
collect_scripts:
  sources.list: |
    #!/bin/bash
    cat /etc/apt/sources.list.d/source1.list
  apt_key_list: |
    #!/bin/bash
    apt-key finger

# vi: ts=4 expandtab