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.
** Attachment added: "prepare-1688606: download kernels and initramfs and image
for test [version 2]"
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1688606/+attachment/4875700/+files/prepare-1688606.sh
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1688606
Title:
SRU cloud-initramfs-rooturl to archive
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1688606/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs