cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to a014617
Date Thu, 06 Nov 2014 12:52:13 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 99ec175b6 -> a01461708


CLOUDSTACK-7855: NIC3 should set MTU and not NIC1 for storage network nic

The fix also persists the configuration in /etc/network/interfaces

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/master
Commit: a0146170854355458d77ebd44a47303df273c0f2
Parents: 99ec175
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Nov 6 18:21:32 2014 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Nov 6 18:21:32 2014 +0530

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/init.d/cloud-early-config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a0146170/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 32c520a..9942f2d 100755
--- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config
+++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
@@ -1131,7 +1131,7 @@ setup_storage_network() {
 	echo "auto eth3" >> /etc/network/interfaces
 	
 	setup_interface "3" "$STORAGE_IP" "$STORAGE_NETMASK"
-        [ -n "$MTU" ] && ifconfig eth3 mtu $MTU
+    [ -n "$MTU" ] && ifconfig eth3 mtu $MTU && echo "  mtu $MTU" >>
/etc/network/interfaces
 	#ip route add "$STORAGE_CIDR" via "$STORAGE_IP"
 	log_it "Successfully setup storage network with STORAGE_IP:$STORAGE_IP, STORAGE_NETMASK:$STORAGE_NETMASK,
STORAGE_CIDR:$STORAGE_CIDR"
 }


Mime
View raw message