]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
debian: We must use iproute on wheezy
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 1 Feb 2018 14:02:25 +0000 (15:02 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 6 Feb 2018 12:36:41 +0000 (13:36 +0100)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in

index 2490aadff542ffcc177dba1cfbbae206e0185c41..59eb7e1de9414e5709e7209cb6d5f37fad541768 100644 (file)
@@ -250,9 +250,11 @@ download_debian()
     case "$release" in
       wheezy)
         init=sysvinit
+        iproute=iproute
         ;;
       *)
         init=init
+        iproute=iproute2
         ;;
     esac
     packages=\
@@ -263,7 +265,7 @@ dialog,\
 isc-dhcp-client,\
 netbase,\
 net-tools,\
-iproute2,\
+$iproute,\
 openssh-server
 
     cache=$1