[pve-devel] [Patch] Proxmox 4.0 CentOS 5 and 6 Containers not starting

Andreas Brodowski andreas at brodowski.org
Sat Oct 17 08:49:25 CEST 2015


According to Wolfgangs hint in forum I post my yesterdays message here:

 
--------------------------------

 

--- Redhat.pm.bak       2015-10-06 09:38:29.000000000 +0200


+++ Redhat.pm   2015-10-14 20:10:11.151244903 +0200


@@ -18,8 +18,8 @@


 

     my $version;


 

-    if ($release =~ m/release\s+(\d\.\d)(\.\d+)?\s/) {


-       if ($1 >= 6 && $1 < 8) {


+    if ($release =~ m/release\s+(\d\.\d)(\.\d+)?/) {


+       if ($1 >= 5 && $1 < 8) {


            $version = $1;


        }


     }

 
--------------------------------
 
This small little patch for file /usr/share/perl5/PVE/LXC/Setup/Redhat.pm should enable CentOS 6 Containers to start and to allow CentOS 5 (provided that you've adapted the container for LXC means that you've updated the /dev devices, fstab, halt/reboot scripts and sysinit!) to start, too.

Best regards

 
Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20151017/c7618dde/attachment.htm>


More information about the pve-devel mailing list