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/28 07:21:48 UTC

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

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


##########
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:
   @weizhouapache I've not tested this. @Pearl1594 or @NuxRo might have.
   Will check



-- 
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