[packages/lxc] Rel 2 - do not change ip_forward when using macvlan device. macvlan lxc may work with both ip forwar
matkor
matkor at pld-linux.org
Fri Sep 18 10:36:50 CEST 2015
commit 9def5ac8de76c0e2f048a8d937db46849c995b16
Author: Mateusz Korniak <matkor at pld-linux.org>
Date: Fri Sep 18 10:36:26 2015 +0200
Rel 2 - do not change ip_forward when using macvlan device. macvlan lxc may work with both ip forward settings, let admin decide and configure.
lxc.spec | 2 +-
lxc_macvlan | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index bbeeb35..4825f4c 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -13,7 +13,7 @@ Summary: Linux Containers userspace tools
Summary(pl.UTF-8): Narzędzia do kontenerów linuksowych (LXC)
Name: lxc
Version: 1.1.3
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: Applications/System
Source0: https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz
diff --git a/lxc_macvlan b/lxc_macvlan
index 4f9a22d..694a4fa 100755
--- a/lxc_macvlan
+++ b/lxc_macvlan
@@ -2,9 +2,6 @@
# additional macvlan interface for lxc
-# TODO: add additional iptables rules / ipv6 / ip_forward
-
-
macvlan_test_config(){
# check if all required configurations have been set
@@ -36,7 +33,6 @@ macvlan_gen_default_hwaddr(){
macvlan_start() {
echo "LXC macvlan interface start"
- echo 1 > /proc/sys/net/ipv4/ip_forward
macvlan_test_config
set -e
@@ -63,4 +59,4 @@ macvlan_status() {
set -e
ip addr show $MACVLAN_NAME
-}
\ No newline at end of file
+}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/9def5ac8de76c0e2f048a8d937db46849c995b16
More information about the pld-cvs-commit
mailing list