Hi, please fix version for CentOS 8.1 in
Fix:
/usr/share/perl5/PVE/LXC/Setup/CentOS.pm
Bash:
# pveversion
pve-manager/6.1-5/9bf06119 (running kernel: 5.3.13-1-pve)
Code:
lxc-start 320 20200116195154.278 INFO conf - conf.c:run_script_argv:372 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "320", config section "lxc"
lxc-start 320 20200116195155.337 DEBUG conf - conf.c:run_buffer:340 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 320 lxc pre-start produced output: unsupported centos release 'CentOS Linux release 8.1.1911 (Core) '
lxc-start 320 20200116195155.357 ERROR conf - conf.c:run_buffer:352 - Script exited with status 25
lxc-start 320 20200116195155.357 ERROR start - start.c:lxc_init:897 - Failed to run lxc.hook.pre-start for container "320"
lxc-start 320 20200116195155.358 ERROR start - start.c:__lxc_start:2032 - Failed to initialize container "320"
Fix:
Code:
# diff CentOS.pm.old CentOS.pm
23c23
< if ($1 >= 5 && $1 <= 8) {
---
> if ($1 >= 5 && $1 <= 8.1) {