[lxc-devel] [lxc/master] debian: We must use iproute on wheezy

stgraber on Github lxc-bot at linuxcontainers.org
Thu Feb 1 14:45:05 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180201/6cadcf0b/attachment.bin>
-------------- next part --------------
From 24d871358d99bf6451c9d8f6ef3764f5f7a50664 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 1 Feb 2018 15:02:25 +0100
Subject: [PATCH] debian: We must use iproute on wheezy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 templates/lxc-debian.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 2656eeaaf..438847894 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -316,9 +316,11 @@ download_debian()
     case "$release" in
       wheezy)
         init=sysvinit
+        iproute=iproute
         ;;
       *)
         init=init
+        iproute=iproute2
         ;;
     esac
     packages=\
@@ -329,7 +331,7 @@ dialog,\
 isc-dhcp-client,\
 netbase,\
 net-tools,\
-iproute2,\
+$iproute,\
 openssh-server
 
     cache=$1


More information about the lxc-devel mailing list