CentOS 8 Container?

fernback

New Member
Nov 14, 2017
9
1
3
30
I've never really paid attention to newly released distros before, so I'm curious when we should expect to see a template for CentOS 8.

Thanks!
 
  • Like
Reactions: shantanu

muzzol

Member
Dec 2, 2009
41
0
6
the official one can take a little bit, but there'll be some user created ones for sure in a couple of days
 

fernback

New Member
Nov 14, 2017
9
1
3
30
Thanks for the heads up! I just set it up using the latest amd_64 template (20191013) and everything seems to be working!
 

muzzol

Member
Dec 2, 2009
41
0
6
if you're getting an error while creating a new container similar to this:

Code:
TASK ERROR: unable to create CT unsupported centos release

you probably need to perform a little change on this file: /usr/share/perl5/PVE/LXC/Setup/CentOS.pm


something like this should be enough:


Code:
sed -i 's/ < 8) {/ < 9) {/' /usr/share/perl5/PVE/LXC/Setup/CentOS.pm
and then restart related services:


Code:
       systemctl restart pveproxy pvedaemon
by the way, I've tested this one: https://uk.images.linuxcontainers.org/images/centos/8/amd64/cloud/20191015_07:08/rootfs.tar.xz

and everything seems fine by now. I'll try to report back if I found any issues.
 

mhaluska

New Member
Sep 23, 2018
3
0
1
37
Strange, I had no issue like this. I'm on PVE 6.0-7 and used CentOS8 cloud image from Oct 12 and 13.
 

oguz

Proxmox Staff Member
Staff member
Nov 19, 2018
760
80
28
if you're getting an error while creating a new container similar to this:

Code:
TASK ERROR: unable to create CT unsupported centos release

you probably need to perform a little change on this file: /usr/share/perl5/PVE/LXC/Setup/CentOS.pm


something like this should be enough:


Code:
sed -i 's/ < 8) {/ < 9) {/' /usr/share/perl5/PVE/LXC/Setup/CentOS.pm
and then restart related services:


Code:
       systemctl restart pveproxy pvedaemon
by the way, I've tested this one: https://uk.images.linuxcontainers.org/images/centos/8/amd64/cloud/20191015_07:08/rootfs.tar.xz

and everything seems fine by now. I'll try to report back if I found any issues.
this shouldn't be necessary. the release number of the template is still 8. (8.0.1905 but we only capture the first digit here for checking)

i just tried with the template you provided, had no issues.
 

SmithCruise

New Member
Oct 14, 2019
4
0
1
29
this shouldn't be necessary. the release number of the template is still 8. (8.0.1905 but we only capture the first digit here for checking)

i just tried with the template you provided, had no issues.
I had met this question too. I download official centos 8 template, it told me that TASK ERROR: unable to create CT 104 - unsupported centos release 'CentOS Linux release 8.0.1905 (Core) '
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!