Option to set MTU size (#930)

* option to change mtu value
pull/938/head
tteckster 3 years ago committed by GitHub
parent 28e198f567
commit a84c54d3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      ct/adguard-v5.sh
  2. 15
      ct/alpine-v5.sh
  3. 15
      ct/archlinux-v5.sh
  4. 15
      ct/blocky-v5.sh
  5. 15
      ct/casaos-v5.sh
  6. 15
      ct/changedetection-v5.sh
  7. 15
      ct/cronicle-v5.sh
  8. 15
      ct/daemonsync-v5.sh
  9. 15
      ct/dashy-v5.sh
  10. 15
      ct/debian-v5.sh
  11. 15
      ct/deconz-v5.sh
  12. 15
      ct/docker-v5.sh
  13. 15
      ct/emby-v5.sh
  14. 15
      ct/emqx-v5.sh
  15. 15
      ct/esphome-v5.sh
  16. 15
      ct/grafana-v5.sh
  17. 15
      ct/grocy-v5.sh
  18. 15
      ct/heimdalldashboard-v5.sh
  19. 15
      ct/homeassistant-core-v5.sh
  20. 15
      ct/homeassistant-v5.sh
  21. 15
      ct/homebridge-v5.sh
  22. 15
      ct/homepage-v5.sh
  23. 15
      ct/hyperion-v5.sh
  24. 15
      ct/influxdb-v5.sh
  25. 15
      ct/iobroker-v5.sh
  26. 15
      ct/jellyfin-v5.sh
  27. 15
      ct/k0s-v5.sh
  28. 15
      ct/keycloak-v5.sh
  29. 15
      ct/magicmirror-v5.sh
  30. 15
      ct/mariadb-v5.sh
  31. 15
      ct/meshcentral-v5.sh
  32. 15
      ct/motioneye-v5.sh
  33. 15
      ct/mqtt-v5.sh
  34. 15
      ct/n8n-v5.sh
  35. 15
      ct/navidrome-v5.sh
  36. 15
      ct/nextcloudpi-v5.sh
  37. 15
      ct/nginxproxymanager-v5.sh
  38. 15
      ct/nocodb-v5.sh
  39. 15
      ct/node-red-v5.sh
  40. 15
      ct/omada-v5.sh
  41. 15
      ct/omv-v5.sh
  42. 15
      ct/openhab-v5.sh
  43. 15
      ct/paperless-ngx-v5.sh
  44. 15
      ct/photoprism-v5.sh
  45. 15
      ct/pihole-v5.sh
  46. 15
      ct/plex-v5.sh
  47. 15
      ct/podman-homeassistant-v5.sh
  48. 15
      ct/podman-v5.sh
  49. 15
      ct/postgresql-v5.sh
  50. 15
      ct/prometheus-v5.sh
  51. 15
      ct/scrypted-v5.sh
  52. 15
      ct/shinobi-v5.sh
  53. 15
      ct/syncthing-v5.sh
  54. 15
      ct/technitiumdns-v5.sh
  55. 15
      ct/trilium-v5.sh
  56. 15
      ct/ubuntu-v5.sh
  57. 15
      ct/umbrel-v5.sh
  58. 15
      ct/unifi-v5.sh
  59. 15
      ct/uptimekuma-v5.sh
  60. 15
      ct/vaultwarden-v5.sh
  61. 15
      ct/whoogle-v5.sh
  62. 15
      ct/wikijs-v5.sh
  63. 15
      ct/wireguard-v5.sh
  64. 15
      ct/yunohost-v5.sh
  65. 15
      ct/zigbee2mqtt-v5.sh
  66. 15
      ct/zwave-js-ui-v5.sh

@ -116,6 +116,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -358,7 +371,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -337,7 +350,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,7 +364,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -340,7 +353,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -115,6 +115,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -388,7 +401,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -367,7 +380,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -113,6 +113,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -336,7 +349,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -116,6 +116,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -348,7 +361,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -360,7 +373,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -340,7 +353,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,7 +360,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -340,7 +353,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -420,7 +433,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -120,6 +120,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -417,7 +430,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -416,7 +429,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -347,7 +360,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -120,6 +120,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -350,7 +363,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -343,7 +356,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -340,7 +353,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -115,6 +115,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -352,7 +365,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -450,7 +463,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -344,7 +357,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -377,7 +390,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -339,7 +352,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -409,7 +422,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -116,6 +116,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -362,7 +375,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -119,6 +119,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -360,7 +373,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -121,6 +121,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -391,7 +404,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -351,7 +364,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -342,7 +355,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -403,7 +416,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -360,7 +373,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -114,6 +114,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -344,7 +357,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -349,7 +362,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -341,7 +354,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -358,7 +371,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -116,6 +116,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -409,7 +422,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -340,7 +353,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -354,7 +367,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -396,7 +409,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -113,6 +113,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -336,7 +349,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -118,6 +118,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -371,7 +384,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

@ -117,6 +117,8 @@ function default_settings() {
NET=dhcp NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}" echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE="" GATE=""
echo -e "${DGN}Using Interface MTU Size: ${BGN}Default${CL}"
MTU=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}" echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD="" SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}" 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}" echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi fi
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) 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=$? exitstatus=$?
if [ $exitstatus = 0 ]; then if [ $exitstatus = 0 ]; then
@ -354,7 +367,7 @@ export PCT_OPTIONS="
-hostname $HN -hostname $HN
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN -net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE

Loading…
Cancel
Save