github.com/mirantis/virtlet@v1.5.2-0.20191204181327-1659b8a48e9b/pkg/libvirttools/TestCloudInitGenerator__9pfs_volume.out.yaml (about)

     1  meta-data:
     2    instance-id: foo.default
     3    local-hostname: foo
     4  user-data:
     5    mounts:
     6    - - opt
     7      - /opt
     8      - 9p
     9      - trans=virtio
    10    write_files:
    11    - content: |
    12        #!/bin/sh
    13        if ! mountpoint /opt; then mkdir -p /opt && mount -t 9p -o trans=virtio opt /opt; fi
    14      path: /etc/cloud/mount-volumes.sh
    15      permissions: "0755"