summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/apt_configure_sources_keyserver.yaml
blob: 25088135b7711d04a4015f34f3833cc11fbebe57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Add a sources.list entry with a key from a keyserver
#
required_features:
  - apt
  - lsb_release
cloud_config: |
  #cloud-config
  apt:
    sources:
      source1:
        keyid: 1FF0D8535EF7E719E5C81B9C083D06FBE4D304DF
        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