Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Add CentOS8 support? #43

Open
martbhell opened this issue Nov 18, 2019 · 3 comments
Open

Add CentOS8 support? #43

martbhell opened this issue Nov 18, 2019 · 3 comments
Milestone

Comments

@martbhell
Copy link

Hello!

I don't know much about LXC - but maybe https://uk.images.linuxcontainers.org/images/centos/8/amd64/ means that there are now CentOS 8 LXC containers available?

@lae
Copy link
Owner

lae commented Nov 18, 2019

I think those images are intended to be used by LXD rather than directly by LXC, like this role currently does.

This role uses the lxc-templates package. The centos template might work, so I'll try adding a definition for CentOS 8, but it's possible it might still need to be updated in Ubuntu's PPA for LXC.

@lae
Copy link
Owner

lae commented Nov 18, 2019

I don't know if package management changed in CentOS 8 but it looks like the mirrorlist URL doesn't work for 8: http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=os

LXC template depends on this at the moment. I checked a mirror manually and it looks like os and some others don't exist anymore, at least at the top-level (it looks like they've been reorganized?): http://sjc.edge.kernel.org/centos/8.0.1905/ (vs. http://sjc.edge.kernel.org/centos/7/). Someone appears to have raised an issue about this too at lxc/lxc-templates#21.

Checking out the referenced issue, it looks like I can try to use the download template with LXC directly against the images you linked, but that'll require a bit more work. Doing this should probably help with updating the role to use Xenial/Bionic (as opposed to switching to LXD), too, so I'll see if I can get around to it soon.

@martbhell
Copy link
Author

martbhell commented Nov 18, 2019

Thank you for looking into this! CentOS 8 is still early. There are now kvm, qcow2 images available either and they suggest opening bug reports in their bug tracker.

About LXD I've seen some travis blog posts recently about LXD and maybe there's some now more travis native way to test more operating systems with that. For example OpenSSL I think has some nice examples.

Edit: turns out they only have Ubuntu support with LXD right now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants