I'm attaching version 2 of this script.
The changes from the first are from actually attempting the sru.
What I found was that
a.) trusty's initramfs built from linux-image-virtual cannot mount iso9660 or vfat filesystems.
As a result I changed to using a command line parameter:
ds=nocloud-net;seedfrom=http://../
The url is the same as the file url and the user-data and meta-data just come from
that location rather than the nocloud seed.img
b.) trusty needed more memory.
I could have just added '-m 2G' instead of '-m 1G' on the qemu-system-x86_64 line.
Instead I passed 'rootflags=size=75%' on the kernel command line. those get passed on
to the mount of the tmpfs and all is well.
I'm attaching version 2 of this script. nocloud- net;seedfrom=http:// ../
The changes from the first are from actually attempting the sru.
What I found was that
a.) trusty's initramfs built from linux-image-virtual cannot mount iso9660 or vfat filesystems.
As a result I changed to using a command line parameter:
ds=
The url is the same as the file url and the user-data and meta-data just come from
that location rather than the nocloud seed.img
b.) trusty needed more memory. size=75% ' on the kernel command line. those get passed on
I could have just added '-m 2G' instead of '-m 1G' on the qemu-system-x86_64 line.
Instead I passed 'rootflags=
to the mount of the tmpfs and all is well.