3 - type: text/cloud-config
6 all: '| tee -a /var/log/cloud-init-output.log'
8 # allow passwordless access for debugging
16 # mount a NFS share for storing logs
17 sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/' /etc/apt/sources.list
18 sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/' /etc/apt/sources.list
20 apt-get -y install nfs-common
22 # 10.0.2.2 is the host
23 mount -v -t nfs -o proto=tcp 10.0.2.2:{mnt_dir} /mnt/log
25 # mount the iso image that has the test script
27 mount -t auto /dev/cdrom /mnt/cdrom