A workaround to deploy pack build image is to pretend openEuler images as a rhel8. It can pass in my test without any modification for cloud-init and curtin, below two change can be apply in packer build kickstart configure file too:
echo "%rhel 8" >> /etc/rpm/macros.dist
sed -i s/\^ID=.*\$/ID=\"rhel\"/ /etc/os-release
The upload command are below:
maas root boot-resources create name=rhel/8 title="OpenEuler 2003" architecture=amd64/generic content@=openeuler.tar.gz
A workaround to deploy pack build image is to pretend openEuler images as a rhel8. It can pass in my test without any modification for cloud-init and curtin, below two change can be apply in packer build kickstart configure file too:
echo "%rhel 8" >> /etc/rpm/ macros. dist .*\$/ID= \"rhel\ "/ /etc/os-release
sed -i s/\^ID=
The upload command are below: amd64/generic content@ =openeuler. tar.gz
maas root boot-resources create name=rhel/8 title="OpenEuler 2003" architecture=