Преглед на файлове

Option to set MTU size (#930)

* option to change mtu value
tteckster преди 2 години
родител
ревизия
a84c54d3cc
променени са 66 файла, в които са добавени 924 реда и са изтрити 66 реда
  1. 14 1
      ct/adguard-v5.sh
  2. 14 1
      ct/alpine-v5.sh
  3. 14 1
      ct/archlinux-v5.sh
  4. 14 1
      ct/blocky-v5.sh
  5. 14 1
      ct/casaos-v5.sh
  6. 14 1
      ct/changedetection-v5.sh
  7. 14 1
      ct/cronicle-v5.sh
  8. 14 1
      ct/daemonsync-v5.sh
  9. 14 1
      ct/dashy-v5.sh
  10. 14 1
      ct/debian-v5.sh
  11. 14 1
      ct/deconz-v5.sh
  12. 14 1
      ct/docker-v5.sh
  13. 14 1
      ct/emby-v5.sh
  14. 14 1
      ct/emqx-v5.sh
  15. 14 1
      ct/esphome-v5.sh
  16. 14 1
      ct/grafana-v5.sh
  17. 14 1
      ct/grocy-v5.sh
  18. 14 1
      ct/heimdalldashboard-v5.sh
  19. 14 1
      ct/homeassistant-core-v5.sh
  20. 14 1
      ct/homeassistant-v5.sh
  21. 14 1
      ct/homebridge-v5.sh
  22. 14 1
      ct/homepage-v5.sh
  23. 14 1
      ct/hyperion-v5.sh
  24. 14 1
      ct/influxdb-v5.sh
  25. 14 1
      ct/iobroker-v5.sh
  26. 14 1
      ct/jellyfin-v5.sh
  27. 14 1
      ct/k0s-v5.sh
  28. 14 1
      ct/keycloak-v5.sh
  29. 14 1
      ct/magicmirror-v5.sh
  30. 14 1
      ct/mariadb-v5.sh
  31. 14 1
      ct/meshcentral-v5.sh
  32. 14 1
      ct/motioneye-v5.sh
  33. 14 1
      ct/mqtt-v5.sh
  34. 14 1
      ct/n8n-v5.sh
  35. 14 1
      ct/navidrome-v5.sh
  36. 14 1
      ct/nextcloudpi-v5.sh
  37. 14 1
      ct/nginxproxymanager-v5.sh
  38. 14 1
      ct/nocodb-v5.sh
  39. 14 1
      ct/node-red-v5.sh
  40. 14 1
      ct/omada-v5.sh
  41. 14 1
      ct/omv-v5.sh
  42. 14 1
      ct/openhab-v5.sh
  43. 14 1
      ct/paperless-ngx-v5.sh
  44. 14 1
      ct/photoprism-v5.sh
  45. 14 1
      ct/pihole-v5.sh
  46. 14 1
      ct/plex-v5.sh
  47. 14 1
      ct/podman-homeassistant-v5.sh
  48. 14 1
      ct/podman-v5.sh
  49. 14 1
      ct/postgresql-v5.sh
  50. 14 1
      ct/prometheus-v5.sh
  51. 14 1
      ct/scrypted-v5.sh
  52. 14 1
      ct/shinobi-v5.sh
  53. 14 1
      ct/syncthing-v5.sh
  54. 14 1
      ct/technitiumdns-v5.sh
  55. 14 1
      ct/trilium-v5.sh
  56. 14 1
      ct/ubuntu-v5.sh
  57. 14 1
      ct/umbrel-v5.sh
  58. 14 1
      ct/unifi-v5.sh
  59. 14 1
      ct/uptimekuma-v5.sh
  60. 14 1
      ct/vaultwarden-v5.sh
  61. 14 1
      ct/whoogle-v5.sh
  62. 14 1
      ct/wikijs-v5.sh
  63. 14 1
      ct/wireguard-v5.sh
  64. 14 1
      ct/yunohost-v5.sh
  65. 14 1
      ct/zigbee2mqtt-v5.sh
  66. 14 1
      ct/zwave-js-ui-v5.sh

+ 14 - 1
ct/adguard-v5.sh

@@ -116,6 +116,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -225,6 +227,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -358,7 +371,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/alpine-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -223,6 +225,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -337,7 +350,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/archlinux-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/blocky-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/casaos-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -228,6 +230,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -351,7 +364,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/changedetection-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -340,7 +353,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/cronicle-v5.sh

@@ -115,6 +115,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -224,6 +226,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -388,7 +401,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/daemonsync-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/dashy-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -367,7 +380,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/debian-v5.sh

@@ -113,6 +113,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -222,6 +224,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -336,7 +349,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/deconz-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/docker-v5.sh

@@ -116,6 +116,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -348,7 +361,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/emby-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -235,6 +237,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -360,7 +373,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/emqx-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -340,7 +353,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/esphome-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -347,7 +360,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/grafana-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/grocy-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -340,7 +353,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/heimdalldashboard-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -420,7 +433,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/homeassistant-core-v5.sh

@@ -120,6 +120,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -230,6 +232,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -417,7 +430,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/homeassistant-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -230,6 +232,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -416,7 +429,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/homebridge-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/homepage-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -347,7 +360,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/hyperion-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/influxdb-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/iobroker-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/jellyfin-v5.sh

@@ -120,6 +120,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -237,6 +239,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -350,7 +363,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/k0s-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/keycloak-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/magicmirror-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -343,7 +356,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/mariadb-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/meshcentral-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/motioneye-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -340,7 +353,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/mqtt-v5.sh

@@ -115,6 +115,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -224,6 +226,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/n8n-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/navidrome-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -352,7 +365,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/nextcloudpi-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/nginxproxymanager-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -450,7 +463,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/nocodb-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -344,7 +357,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/node-red-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -377,7 +390,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/omada-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -235,6 +237,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -339,7 +352,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/omv-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/openhab-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/paperless-ngx-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -409,7 +422,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/photoprism-v5.sh

@@ -116,6 +116,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -225,6 +227,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -362,7 +375,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/pihole-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/plex-v5.sh

@@ -119,6 +119,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -236,6 +238,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -360,7 +373,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/podman-homeassistant-v5.sh

@@ -121,6 +121,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -230,6 +232,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -391,7 +404,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/podman-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/postgresql-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/prometheus-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/scrypted-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/shinobi-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -235,6 +237,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -351,7 +364,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/syncthing-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -342,7 +355,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/technitiumdns-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -403,7 +416,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/trilium-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -360,7 +373,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/ubuntu-v5.sh

@@ -114,6 +114,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -231,6 +233,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -344,7 +357,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/umbrel-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -228,6 +230,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -349,7 +362,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/unifi-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -341,7 +354,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/uptimekuma-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -358,7 +371,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/vaultwarden-v5.sh

@@ -116,6 +116,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -409,7 +422,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/whoogle-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -340,7 +353,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/wikijs-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -354,7 +367,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/wireguard-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -396,7 +409,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/yunohost-v5.sh

@@ -113,6 +113,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -222,6 +224,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -336,7 +349,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/zigbee2mqtt-v5.sh

@@ -118,6 +118,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -227,6 +229,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -371,7 +384,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE

+ 14 - 1
ct/zwave-js-ui-v5.sh

@@ -117,6 +117,8 @@ function default_settings() {
   NET=dhcp
   echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
   GATE=""
+  echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
+  MTU=""
   echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
   SD=""
   echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
@@ -226,6 +228,17 @@ function advanced_settings() {
       echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
     fi
   fi
+  MTU1=$(whiptail --inputbox "Set Interface MTU Size (leave blank for default)" 8 58 --title "MTU SIZE" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
+  exitstatus=$?
+  if [ $exitstatus = 0 ]; then
+    if [ -z $MTU1 ]; then
+      MTU1="Default" MTU=""
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    else
+      MTU=",mtu=$MTU1"
+      echo -e "${DGN}Using Interface MTU Size: ${BGN}$MTU1${CL}"
+    fi
+  fi
   SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
   exitstatus=$?
   if [ $exitstatus = 0 ]; then
@@ -354,7 +367,7 @@ export PCT_OPTIONS="
   -hostname $HN
   $SD
   $NS
-  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
+  -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
   -onboot 1
   -cores $CORE_COUNT
   -memory $RAM_SIZE