distrobuilder icon indicating copy to clipboard operation
distrobuilder copied to clipboard

openEuler lxc/lxd image support?

Open TommyLike opened this issue 4 years ago • 4 comments

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

TommyLike avatar Aug 12 '21 07:08 TommyLike

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 avatar Aug 12 '21 08:08 monstermunchkin

@monstermunchkin Thanks, I will take a deep look into the builder code.

TommyLike avatar Aug 13 '21 01:08 TommyLike

@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 avatar Aug 28 '21 01:08 TommyLike

@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.

monstermunchkin avatar Aug 30 '21 08:08 monstermunchkin

Closing this issue as openEuler support has been added.

monstermunchkin avatar Jun 13 '23 09:06 monstermunchkin

hey @monstermunchkin, is there any API/website/suggestion we can get the statistic number of how many used openeuler in the lxd?

TommyLike avatar Jun 13 '23 12:06 TommyLike

is there any API/website/suggestion we can get the statistic number of how many used openeuler in the lxd?

No, unfortunately not.

monstermunchkin avatar Jun 13 '23 12:06 monstermunchkin

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?

TommyLike avatar Jun 13 '23 12:06 TommyLike

oh, will it be supported?

Not to my knowledge.

monstermunchkin avatar Jun 13 '23 12:06 monstermunchkin