cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/4.4-forward to 60e4629
Date Fri, 13 Jun 2014 18:08:13 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4-forward b849b7ee3 -> 60e462932


CLOUDSTACK-6908: Enable IPv6 in sysctl when only necessary

This new way would only enable IPv6 when VR is created in IPv6 shared network.
Otherwise IPv6 sysctl options remain disable.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/60e46293
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/60e46293
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/60e46293

Branch: refs/heads/4.4-forward
Commit: 60e46293234cccea5d2bd31588123e65af3e9bad
Parents: b849b7e
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Fri Jun 13 11:05:35 2014 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Fri Jun 13 11:05:35 2014 -0700

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/init.d/cloud-early-config | 1 +
 systemvm/patches/debian/config/etc/sysctl.conf               | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/60e46293/systemvm/patches/debian/config/etc/init.d/cloud-early-config
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/init.d/cloud-early-config b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
index b8c40db..938e6f8 100755
--- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config
+++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
@@ -387,6 +387,7 @@ setup_interface() {
 
 setup_interface_ipv6() {
   sysctl net.ipv6.conf.all.disable_ipv6=0
+  sysctl net.ipv6.conf.all.forwarding=1
   sysctl net.ipv6.conf.all.accept_ra=1
   
   local intfnum=$1

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/60e46293/systemvm/patches/debian/config/etc/sysctl.conf
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/sysctl.conf b/systemvm/patches/debian/config/etc/sysctl.conf
index 586d5bd..961d471 100644
--- a/systemvm/patches/debian/config/etc/sysctl.conf
+++ b/systemvm/patches/debian/config/etc/sysctl.conf
@@ -42,8 +42,8 @@ net.ipv4.tcp_max_tw_buckets=1000000
 net.core.somaxconn=1000000
 
 # Disable IPv6
-net.ipv6.conf.all.disable_ipv6 = 0
-net.ipv6.conf.all.forwarding = 1
-net.ipv6.conf.all.accept_ra = 1
+net.ipv6.conf.all.disable_ipv6 = 1
+net.ipv6.conf.all.forwarding = 0
+net.ipv6.conf.all.accept_ra = 0
 net.ipv6.conf.all.accept_redirects = 0
 net.ipv6.conf.all.autoconf = 0


Mime
View raw message