add option for verbose mode (#859)

pull/872/head
tteckster 3 years ago committed by GitHub
parent 01bfd71633
commit cb327cd55c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      ct/adguard-v4.sh
  2. 11
      ct/alpine-v4.sh
  3. 11
      ct/archlinux-v4.sh
  4. 11
      ct/blocky-v4.sh
  5. 11
      ct/casaos-v4.sh
  6. 11
      ct/changedetection-v4.sh
  7. 1
      ct/create_lxc.sh
  8. 11
      ct/daemonsync-v4.sh
  9. 11
      ct/dashy-v4.sh
  10. 11
      ct/debian-v4.sh
  11. 11
      ct/deconz-v4.sh
  12. 11
      ct/docker-v4.sh
  13. 11
      ct/emby-v4.sh
  14. 11
      ct/emqx-v4.sh
  15. 11
      ct/esphome-v4.sh
  16. 11
      ct/grafana-v4.sh
  17. 11
      ct/grocy-v4.sh
  18. 11
      ct/heimdalldashboard-v4.sh
  19. 11
      ct/homeassistant-core-v4.sh
  20. 11
      ct/homeassistant-v4.sh
  21. 11
      ct/homebridge-v4.sh
  22. 11
      ct/homepage-v4.sh
  23. 11
      ct/hyperion-v4.sh
  24. 11
      ct/influxdb-v4.sh
  25. 11
      ct/iobroker-v4.sh
  26. 11
      ct/jellyfin-v4.sh
  27. 11
      ct/keycloak-v4.sh
  28. 11
      ct/magicmirror-v4.sh
  29. 11
      ct/mariadb-v4.sh
  30. 11
      ct/meshcentral-v4.sh
  31. 11
      ct/motioneye-v4.sh
  32. 11
      ct/mqtt-v4.sh
  33. 11
      ct/n8n-v4.sh
  34. 11
      ct/navidrome-v4.sh
  35. 11
      ct/nextcloudpi-v4.sh
  36. 11
      ct/nginx-proxy-manager-v4.sh
  37. 11
      ct/nocodb-v4.sh
  38. 11
      ct/node-red-v4.sh
  39. 11
      ct/omada-v4.sh
  40. 11
      ct/omv-v4.sh
  41. 11
      ct/openhab-v4.sh
  42. 11
      ct/paperless-ngx-v4.sh
  43. 11
      ct/photoprism-v4.sh
  44. 11
      ct/pihole-v4.sh
  45. 11
      ct/plex-v4.sh
  46. 11
      ct/podman-homeassistant-v4.sh
  47. 11
      ct/postgresql-v4.sh
  48. 11
      ct/prometheus-v4.sh
  49. 11
      ct/scrypted-v4.sh
  50. 11
      ct/shinobi-v4.sh
  51. 11
      ct/syncthing-v4.sh
  52. 11
      ct/technitiumdns-v4.sh
  53. 11
      ct/trilium-v4.sh
  54. 11
      ct/ubuntu-v4.sh
  55. 11
      ct/umbrel-v4.sh
  56. 11
      ct/unifi-v4.sh
  57. 11
      ct/uptimekuma-v4.sh
  58. 11
      ct/vaultwarden-v4.sh
  59. 11
      ct/whoogle-v4.sh
  60. 11
      ct/wikijs-v4.sh
  61. 11
      ct/wireguard-v4.sh
  62. 11
      ct/zigbee2mqtt-v4.sh
  63. 11
      ct/zwave-js-ui-v4.sh
  64. 1
      setup/adguard-install.sh
  65. 1
      setup/blocky-install.sh
  66. 1
      setup/casaos-install.sh
  67. 1
      setup/changedetection-install.sh
  68. 1
      setup/daemonsync-install.sh
  69. 1
      setup/dashy-install.sh
  70. 1
      setup/debian-install.sh
  71. 1
      setup/deconz-install.sh
  72. 1
      setup/docker-install.sh
  73. 1
      setup/emby-install.sh
  74. 1
      setup/emqx-install.sh
  75. 1
      setup/esphome-install.sh
  76. 1
      setup/grafana-install.sh
  77. 1
      setup/grocy-install.sh
  78. 1
      setup/heimdalldashboard-install.sh
  79. 1
      setup/homeassistant-core-install.sh
  80. 1
      setup/homeassistant-install.sh
  81. 1
      setup/homebridge-install.sh
  82. 1
      setup/homepage-install.sh
  83. 1
      setup/hyperion-install.sh
  84. 1
      setup/influxdb-install.sh
  85. 1
      setup/iobroker-install.sh
  86. 1
      setup/jellyfin-install.sh
  87. 1
      setup/keycloak-install.sh
  88. 1
      setup/magicmirror-install.sh
  89. 1
      setup/mariadb-install.sh
  90. 1
      setup/meshcentral-install.sh
  91. 1
      setup/motioneye-install.sh
  92. 1
      setup/mqtt-install.sh
  93. 1
      setup/n8n-install.sh
  94. 1
      setup/navidrome-install.sh
  95. 1
      setup/nextcloudpi-install.sh
  96. 1
      setup/nginx-proxy-manager-install.sh
  97. 1
      setup/nocodb-install.sh
  98. 1
      setup/node-red-install.sh
  99. 1
      setup/omada-install.sh
  100. 1
      setup/omv-install.sh
  101. Some files were not shown because too many files have changed in this diff Show More

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -245,6 +247,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -267,6 +276,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -274,6 +284,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
BL=$(echo "\033[36m")
RD=$(echo "\033[01;31m")

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -258,6 +260,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -280,6 +289,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -287,6 +297,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -250,6 +252,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -272,6 +281,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -279,6 +289,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -258,6 +260,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -280,6 +289,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -287,6 +297,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -224,6 +226,13 @@ fi
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -246,6 +255,7 @@ fi
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -253,6 +263,7 @@ if [ "$CT_TYPE" == "1" ]; then
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -257,6 +259,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -279,6 +288,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -286,6 +296,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -258,6 +260,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -280,6 +289,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -287,6 +297,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -103,6 +103,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -252,6 +254,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -274,6 +283,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -281,6 +291,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -258,6 +260,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -280,6 +289,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -287,6 +297,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -250,6 +252,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -272,6 +281,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -279,6 +289,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -257,6 +259,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -279,6 +288,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -286,6 +296,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -99,6 +99,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -248,6 +250,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -270,6 +279,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -277,6 +287,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -101,6 +101,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -250,6 +252,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -272,6 +281,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -279,6 +289,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -100,6 +100,8 @@ function default_settings() {
VLAN=""
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="no"
echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}"
}
function advanced_settings() {
@ -249,6 +251,13 @@ function advanced_settings() {
echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}"
SSH="no"
fi
if (whiptail --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}"
VERB="yes"
else
echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}"
VERB="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
@ -271,6 +280,7 @@ function start_script() {
}
clear
start_script
if [ "$VERB" == "yes" ]; then set -x; fi
if [ "$CT_TYPE" == "1" ]; then
FEATURES="nesting=1,keyctl=1"
else
@ -278,6 +288,7 @@ else
fi
TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
export VERBOSE=$VERB
export SSH_ROOT=${SSH}
export CTID=$CT_ID
export PCT_OSTYPE=$var_os

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")
BL=$(echo "\033[36m")

@ -1,4 +1,5 @@
#!/usr/bin/env bash
if [ "$VERBOSE" == "yes" ]; then set -x; fi
export DEBIAN_FRONTEND=noninteractive
YW=$(echo "\033[33m")
RD=$(echo "\033[01;31m")

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save