mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
38f6a78c71
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.
23 lines
439 B
YAML
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
|