github.com/rancher/elemental/tests@v0.0.0-20240517125144-ae048c615b3f/assets/seedImage-multi.yaml (about)

     1  apiVersion: elemental.cattle.io/v1beta1
     2  kind: SeedImage
     3  metadata:
     4    name: seed-image-multi
     5    # namespace: fleet-default
     6  spec:
     7    baseImage: %BASE_IMAGE%
     8    cloud-config:
     9      users:
    10        - name: root
    11          passwd: r0s@pwd1
    12      write_files:
    13        - path: /etc/elemental-test
    14          append: true
    15          content: |
    16            SeedImage cloud-config-test
    17        - path: /etc/ssh/sshd_config
    18          append: true
    19          content: |
    20            PermitRootLogin yes
    21          owner: root:root
    22          permissions: 644
    23    registrationRef:
    24      apiVersion: elemental.cattle.io/v1beta1
    25      kind: MachineRegistration
    26      name: machine-registration-multi
    27      namespace: fleet-default