My command to load MAAS with rhel8 is as follows:
maas admin boot-resources create name='custom/rhel8' title="RedHat Enterprise Linux 8" architecture='amd64/generic' filetype=tgz content@=rhel8.tar.gz
That is similar to my conclusions as well. When it’s checking to see if cloud-init is installed it’s using ubuntu tools to find out - which don’t work on rhel - they should say rpm -q instead of dpkg-query. Which of course is going to ilicit an error.
Also the variables that should be set are not - as evidenced by the path to the image detailed by the root= part of the nomodeset line in the boot image.
I was following the instructions in the README.TXT file that came in the git clone from canonical’s rhel8 packer-maas.git for loading it back into MAAS. Note: it was built on a baremetal host which was different than the vmware based maas server - then scp’d over for getting loaded.
Thanks
~~ Charles