distrobuilder
distrobuilder copied to clipboard
openEuler lxc/lxd image support?
Hey team, I am from openEuler community, I am wondering how could we add a lxc/lxd image for openEuler( repo link ), by reading the README.md it's not easy to figure out how to write a manifest yaml for openEuler which can work: https://github.com/lxc/distrobuilder/blob/master/doc/examples/ubuntu.yaml
Hey @TommyLike
in order to get openEuler to work, we'd first need sources/openeuler.go which takes care of downloading the ISO. We'd also need a new package manager in managers/ unless openEuler uses an existing one, e.g. apt or yum or whatever.
@monstermunchkin Thanks, I will take a deep look into the builder code.
@monstermunchkin I managed to create an openEuler lxd image by adding openEuler source support and create a openeuler.yaml based on centos and rockylinux yamls. It works fine currently (I can create start stop the container and yum works fine), I am wondering whether we have tests or other way to fully test the image?
@TommyLike nice! We test all the images we build (https://github.com/lxc/lxc-ci/blob/master/bin/test-lxd-images). Feel free to send PRs, we can then run the tests locally before accepting the changes.
Closing this issue as openEuler support has been added.
hey @monstermunchkin, is there any API/website/suggestion we can get the statistic number of how many used openeuler in the lxd?
is there any API/website/suggestion we can get the statistic number of how many used openeuler in the lxd?
No, unfortunately not.
is there any API/website/suggestion we can get the statistic number of how many used openeuler in the lxd?
No, unfortunately not.
oh, will it be supported?
oh, will it be supported?
Not to my knowledge.