You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/22 10:48:14 UTC

[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #6426: Configurable MTU for VR

weizhouapache commented on code in PR #6426:
URL: https://github.com/apache/cloudstack/pull/6426#discussion_r1055333344


##########
systemvm/debian/opt/cloud/bin/setup/common.sh:
##########
@@ -93,6 +93,14 @@ setup_interface() {
        echo "  address $ip " >> /etc/network/interfaces
        echo "  netmask $mask" >> /etc/network/interfaces
      fi
+
+     if [ ! -z "$PRIVATEMTU" ] && [ $intf == "eth0" ]; then
+       echo "  mtu $PRIVATEMTU" >> /etc/network/interfaces
+     fi
+
+     if [ ! -z "$PUBLICMTU" ] && [ $intf == "eth2" ]; then

Review Comment:
   @shwstppr 
   have you tested with VPC VR ?
   in VPC VR, eth1 is public interface, eth0 is the control interface



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org