cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: updated refs/heads/master to 9d5b7b7
Date Wed, 29 Oct 2014 22:50:30 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master b6d8ceda3 -> 9d5b7b73a


MTU should be put on storage network: eth3, instead of eth1 Reviewed-by: Frank


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

Branch: refs/heads/master
Commit: 9d5b7b73a21c307a6514f90f8674a4ff231c0bbc
Parents: b6d8ced
Author: Edison Su <sudison@gmail.com>
Authored: Thu Oct 30 02:44:35 2014 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Thu Oct 30 02:45:46 2014 -0700

----------------------------------------------------------------------
 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/9d5b7b73/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 a8750ba..32c520a 100755
--- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config
+++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
@@ -1131,6 +1131,7 @@ setup_storage_network() {
 	echo "auto eth3" >> /etc/network/interfaces
 	
 	setup_interface "3" "$STORAGE_IP" "$STORAGE_NETMASK"
+        [ -n "$MTU" ] && ifconfig eth3 mtu $MTU
 	#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"
 }
@@ -1141,7 +1142,6 @@ setup_secstorage() {
   local hyp=$1
   setup_common eth0 eth1 eth2
   setup_storage_network
-  [ -n "$MTU" ] && ifconfig eth1 mtu $MTU
   sed -i  /gateway/d /etc/hosts
   public_ip=$ETH2_IP
   [ "$ETH2_IP" == "0.0.0.0" ] && public_ip=$ETH1_IP


Mime
View raw message