Comment 10 for bug 1975922

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote :

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