]> git.proxmox.com Git - ceph.git/blame - ceph/qa/tasks/userdata_setup.yaml
Import ceph 15.2.8
[ceph.git] / ceph / qa / tasks / userdata_setup.yaml
CommitLineData
7c673cae
FG
1#cloud-config-archive
2
3- type: text/cloud-config
4 content: |
5 output:
6 all: '| tee -a /var/log/cloud-init-output.log'
7
8# allow passwordless access for debugging
9- |
11fdf7f2 10 #!/usr/bin/env bash
7c673cae
FG
11 exec passwd -d ubuntu
12
13- |
11fdf7f2 14 #!/usr/bin/env bash
7c673cae
FG
15
16 # mount a NFS share for storing logs
17 apt-get update
18 apt-get -y install nfs-common
19 mkdir /mnt/log
20 # 10.0.2.2 is the host
21 mount -v -t nfs -o proto=tcp 10.0.2.2:{mnt_dir} /mnt/log
22
23 # mount the iso image that has the test script
24 mkdir /mnt/cdrom
25 mount -t auto /dev/cdrom /mnt/cdrom