In the bug I showed the repack instructions, I'll leave repacking the boot-initrd from MAAS to you.
Once done, you can
% git clone lp:curtin
% cd curtin
% make vmtest-deps
# run this you can control-c it after it syncs the groovy kernel/initrd/squashfs
% rm -rf output/; CURTIN_VMTEST_IMAGE_SYNC=1 ./tools/jenkins-runner tests/vmtests/test_basic.py:GroovyTestBasic
# replace the boot-initrd with your repack
% mv /srv/images/groovy/amd64/20200811/ga-20.10/boot-initrd /srv/images/groovy/amd64/20200811/ga-20.10/boot-initrd.orig
% cp boot-initrd.fixed /srv/images/groovy/amd64/20200811/ga-20.10/boot-initrd
% rm -rf ./output; ./tools/jenkins-runner tests/vmtests/test_basic.py:GroovyTestBasic
> How can I retest this with curtin's vmtests?
In the bug I showed the repack instructions, I'll leave repacking the boot-initrd from MAAS to you.
Once done, you can
% git clone lp:curtin initrd/ squashfs VMTEST_ IMAGE_SYNC= 1 ./tools/ jenkins- runner tests/vmtests/ test_basic. py:GroovyTestBa sic groovy/ amd64/20200811/ ga-20.10/ boot-initrd /srv/images/ groovy/ amd64/20200811/ ga-20.10/ boot-initrd. orig groovy/ amd64/20200811/ ga-20.10/ boot-initrd jenkins- runner tests/vmtests/ test_basic. py:GroovyTestBa sic
% cd curtin
% make vmtest-deps
# run this you can control-c it after it syncs the groovy kernel/
% rm -rf output/; CURTIN_
# replace the boot-initrd with your repack
% mv /srv/images/
% cp boot-initrd.fixed /srv/images/
% rm -rf ./output; ./tools/