From: Terzeus S. Dominguez Date: Sun, 10 Jan 2016 19:31:30 +0000 (+0800) Subject: Add iproute2 and net-tools to Leap install X-Git-Tag: lxc-2.0.0.beta2~59^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4fe12dc4944bb3a4d3a6c8b214c2d908206ae6;p=thirdparty%2Flxc.git Add iproute2 and net-tools to Leap install Added missing network utilities to base install for Leap. Included check to do it for Leap 42.1 only. Signed-off-by: Terzeus S. Dominguez --- diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 847f1788f..3987b89bc 100644 --- a/templates/lxc-opensuse.in +++ b/templates/lxc-opensuse.in @@ -180,6 +180,12 @@ EOF echo "Support: dhcpcd" >> $cache/partial-$arch-packages/opensuse.conf fi + # Leap doesn't seem to have iproute2 utils installed + if [ $DISTRO == "leap/42.1" ] + then + echo "Support: net-tools iproute2" >> $cache/partial-$arch-packages/opensuse.conf + fi + if [ "$arch" = "i686" ]; then mkdir -p $cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/i686/ for i in "$cache/partial-$arch-packages/var/cache/zypp/packages/repo-oss/suse/i586/*" ; do