ceph/teuthology/task/userdata_setup.yaml
Josh Durgin 38f6a78c71 Add a task to run a test against rbd inside of qemu.
For now this task does not setup networking for the vm,
and simply runs an executable downloaded from a specified url.

It does support adding multiple rbd devices, but making use
of that with e.g. xfstests requires a bit more work.
2012-06-21 18:44:16 -07:00

23 lines
439 B
YAML

#cloud-config-archive
- type: text/cloud-config
content: |
output:
all: '| tee -a /var/log/cloud-init-output.log'
# allow passwordless access for debugging
- |
#!/bin/bash
exec passwd -d ubuntu
- |
#!/bin/bash
# mount a 9p fs for storing logs
mkdir /mnt/log
mount -t 9p -o trans=virtio test_log /mnt/log
# mount the iso image that has the test script
mkdir /mnt/cdrom
mount -t auto /dev/cdrom /mnt/cdrom