[pve-devel] [PATCH container 2/3] simply version check

Dominik Csapak d.csapak at proxmox.com
Tue Oct 31 11:25:10 CET 2017


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/PVE/LXC/Setup/Ubuntu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Setup/Ubuntu.pm b/src/PVE/LXC/Setup/Ubuntu.pm
index c4035d9..a0d11cc 100644
--- a/src/PVE/LXC/Setup/Ubuntu.pm
+++ b/src/PVE/LXC/Setup/Ubuntu.pm
@@ -84,7 +84,7 @@ sub setup_init {
 
     my $version = $self->{version};
 
-    if ($version eq '17.10' || $version eq '17.04' || $version eq '16.10') {
+    if ($version >= '16.10') {
         $self->setup_container_getty_service($conf);
     }
     
-- 
2.11.0




More information about the pve-devel mailing list