root ssh access

This commit is contained in:
tteckster 2022-11-23 11:55:50 -05:00 committed by GitHub
parent ce55f1cf86
commit 5399541969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 574 additions and 1 deletions

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -208,6 +210,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -237,6 +246,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -95,6 +95,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -221,6 +223,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -250,6 +259,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -95,6 +95,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -221,6 +223,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -250,6 +259,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,7 +93,9 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 8 58 2 \
@ -216,6 +218,7 @@ if [ "$CT_TYPE" == "1" ]; then
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -220,6 +222,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -249,6 +258,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -95,6 +95,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -221,6 +223,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -250,6 +259,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -97,6 +97,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -215,6 +217,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -244,6 +253,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -95,6 +95,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -213,6 +215,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -242,6 +251,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -220,6 +222,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -249,6 +258,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -93,6 +93,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -211,6 +213,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -240,6 +249,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -95,6 +95,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -213,6 +215,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -242,6 +251,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version

View file

@ -94,6 +94,8 @@ function default_settings() {
MAC=""
echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}"
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -212,6 +214,13 @@ function advanced_settings() {
echo -e "${DGN}Using Vlan: ${BGN}$VLAN1${CL}"
fi
fi
if (whiptail --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then
echo -e "${DGN}Enable Root SSH Access: ${BGN}Yes${CL}"
SSH="yes"
else
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP} LXC?" --no-button Do-Over 10 58); then
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
else
@ -241,6 +250,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os
export PCT_OSVERSION=$var_version