options to set DNS (#803)

This commit is contained in:
tteckster 2022-12-03 15:27:42 -05:00 committed by GitHub
parent 9742c35d6a
commit 102a2061b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
60 changed files with 1772 additions and 0 deletions

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -188,6 +192,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -254,6 +282,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -201,6 +205,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -267,6 +295,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -201,6 +205,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -267,6 +295,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -226,6 +226,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -200,6 +204,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -266,6 +294,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -201,6 +205,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -267,6 +295,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -93,6 +93,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -195,6 +199,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -261,6 +289,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -201,6 +205,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -267,6 +295,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -193,6 +197,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -259,6 +287,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -200,6 +204,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -266,6 +294,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -89,6 +89,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -191,6 +195,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -257,6 +285,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -91,6 +91,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -193,6 +197,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -259,6 +287,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT

View File

@ -90,6 +90,10 @@ function default_settings() {
NET=dhcp
echo -e "${DGN}Using Gateway Address: ${BGN}Default${CL}"
GATE=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
SD=""
echo -e "${DGN}Using DNS Server Address: ${BGN}Host${CL}"
NS=""
echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}"
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
@ -192,6 +196,30 @@ function advanced_settings() {
echo -e "${DGN}Using Gateway IP Address: ${BGN}$GATE1${CL}"
fi
fi
SD=$(whiptail --inputbox "Set a DNS Search Domain (leave blank for HOST)" 8 58 --title "DNS Search Domain" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $SD ]; then
SD=""
echo -e "${DGN}Using DNS Search Domain: ${BGN}Host${CL}"
else
SX=$SD
SD="-searchdomain=$SD"
echo -e "${DGN}Using DNS Search Domain: ${BGN}$SX${CL}"
fi
fi
NS=$(whiptail --inputbox "Set a DNS Server IP (leave blank for HOST)" 8 58 --title "DNS SERVER IP" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
if [ -z $NS ]; then
NS=""
echo -e "${DGN}Using DNS Server IP Address: ${BGN}Host${CL}"
else
NX=$NS
NS="-nameserver=$NS"
echo -e "${DGN}Using DNS Server IP Address: ${BGN}$NX${CL}"
fi
fi
MAC1=$(whiptail --inputbox "Set a MAC Address(leave blank for default)" 8 58 --title "MAC ADDRESS" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
@ -258,6 +286,8 @@ export PCT_DISK_SIZE=$DISK_SIZE
export PCT_OPTIONS="
-features $FEATURES
-hostname $HN
$SD
$NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN
-onboot 1
-cores $CORE_COUNT