]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC/Setup/Fedora.pm
fix #912: centos/redhat confusion
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 9 Mar 2016 09:13:00 +0000 (10:13 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 9 Mar 2016 16:55:24 +0000 (17:55 +0100)
commit81a6ec3f80d43139444646589cb5b127eade4f18
tree375721bdc24a2eb956e4cc357529255ae0a2cb7a
parent1021703db8fb7798c1608ea320ffd30496bd8103
fix #912: centos/redhat confusion

With the introduction of unmanaged containers a check was
added to verify that the ostype is the same as the
autodetected one.
Since our CentOS plugin was named 'redhat' but the ostype
setting was 'centos' this error triggered and rendered
centos containers unusable.

Renamed the LXC::Setup::Redhat package LXC::Setup::CentOS
and changed the plugin name to and autodetected type from
'redhat' to 'centos' as well.
src/PVE/LXC/Setup.pm
src/PVE/LXC/Setup/CentOS.pm [new file with mode: 0644]
src/PVE/LXC/Setup/Fedora.pm
src/PVE/LXC/Setup/Makefile
src/PVE/LXC/Setup/Redhat.pm [deleted file]