File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
systemvm/patches/debian/config/etc/init.d Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1131,6 +1131,7 @@ setup_storage_network() {
11311131 echo " auto eth3" >> /etc/network/interfaces
11321132
11331133 setup_interface " 3" " $STORAGE_IP " " $STORAGE_NETMASK "
1134+ [ -n " $MTU " ] && ifconfig eth3 mtu $MTU
11341135 # ip route add "$STORAGE_CIDR" via "$STORAGE_IP"
11351136 log_it " Successfully setup storage network with STORAGE_IP:$STORAGE_IP , STORAGE_NETMASK:$STORAGE_NETMASK , STORAGE_CIDR:$STORAGE_CIDR "
11361137}
@@ -1141,7 +1142,6 @@ setup_secstorage() {
11411142 local hyp=$1
11421143 setup_common eth0 eth1 eth2
11431144 setup_storage_network
1144- [ -n " $MTU " ] && ifconfig eth1 mtu $MTU
11451145 sed -i /gateway/d /etc/hosts
11461146 public_ip=$ETH2_IP
11471147 [ " $ETH2_IP " == " 0.0.0.0" ] && public_ip=$ETH1_IP
You can’t perform that action at this time.
0 commit comments