github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/internal/statemachine/testdata/image_definitions/test_invalid_paths_in_manual_copy.yaml (about)

     1  name: ubuntu-server-raspi-arm64
     2  display-name: Ubuntu Server Raspberry Pi arm64
     3  revision: 2
     4  architecture: arm64
     5  series: jammy
     6  class: preinstalled
     7  kernel: linux-raspi
     8  gadget:
     9    url: "https://github.com/snapcore/pi-gadget.git"
    10    branch: "classic"
    11    type: "git"
    12  rootfs:
    13    archive: ubuntu
    14    mirror: "http://ports.ubuntu.com/ubuntu/"
    15    seed:
    16      urls:
    17        - "git://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/"
    18        - "git://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/"
    19      branch: jammy
    20      names:
    21        - server
    22        - minimal
    23        - standard
    24        - cloud-image
    25        - ubuntu-server-raspi
    26  customization:
    27    cloud-init:
    28      user-data: |
    29        #cloud-config
    30        chpasswd:
    31          expire: true
    32          users:
    33            - name: ubuntu
    34              password: ubuntu
    35              type: text
    36    extra-packages:
    37      - name: ubuntu-minimal
    38      - name: linux-firmware-raspi
    39      - name: pi-bluetooth
    40    manual:
    41      copy-file:
    42        -
    43          source: /foo/bar
    44          destination: /../../malicious
    45        -
    46          source: /foo/bar
    47          destination: ../../malicious
    48  artifacts:
    49    img:
    50      -
    51        name: raspi.img
    52    manifest:
    53      name: raspi.manifest