Add unsupported notice to Debian template

This commit is contained in:
Sam Heinz
2024-04-08 19:07:27 +10:00
parent 0a0df479ae
commit 2598218ddd
2 changed files with 61 additions and 58 deletions
+1
View File
@@ -63,6 +63,7 @@ Any applications not in ported or unsupported need to be tested for whether they
<summary>Unsupported applications</summary> <summary>Unsupported applications</summary>
<li>Proxmox Backup Server - Needs custom image</li> <li>Proxmox Backup Server - Needs custom image</li>
<li>All alpine templates - hardcoded Ubuntu base image due to Debian issues</li> <li>All alpine templates - hardcoded Ubuntu base image due to Debian issues</li>
<li>The Debian template - hardcoded Ubuntu base image due to Debian issues</li>
</details> </details>
<details> <details>
+60 -58
View File
@@ -1,69 +1,71 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) # source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { echo "Currently unsupported."
clear
cat <<"EOF"
____ __ _
/ __ \___ / /_ (_)___ _____
/ / / / _ \/ __ \/ / __ `/ __ \
/ /_/ / __/ /_/ / / /_/ / / / /
/_____/\___/_.___/_/\__,_/_/ /_/
EOF # function header_info {
} # clear
header_info # cat <<"EOF"
echo -e "Loading..." # ____ __ _
APP="Debian" # / __ \___ / /_ (_)___ _____
var_disk="2" # / / / / _ \/ __ \/ / __ `/ __ \
var_cpu="1" # / /_/ / __/ /_/ / / /_/ / / / /
var_ram="512" # /_____/\___/_.___/_/\__,_/_/ /_/
var_os="debian"
var_version="12"
variables
color
catch_errors
function default_settings() { # EOF
CT_TYPE="1" # }
PW="" # header_info
CT_ID=$NEXTID # echo -e "Loading..."
HN=$NSAPP # APP="Debian"
DISK_SIZE="$var_disk" # var_disk="2"
CORE_COUNT="$var_cpu" # var_cpu="1"
RAM_SIZE="$var_ram" # var_ram="512"
BRG="vmbr0" # var_os="debian"
NET="dhcp" # var_version="12"
GATE="" # variables
APT_CACHER="" # color
APT_CACHER_IP="" # catch_errors
DISABLEIP6="no"
MTU=""
SD=""
NS=""
MAC=""
VLAN=""
SSH="no"
VERB="no"
echo_default
}
function update_script() { # function default_settings() {
header_info # CT_TYPE="1"
if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi # PW=""
msg_info "Updating $APP LXC" # CT_ID=$NEXTID
apt-get update &>/dev/null # HN=$NSAPP
apt-get -y upgrade &>/dev/null # DISK_SIZE="$var_disk"
msg_ok "Updated $APP LXC" # CORE_COUNT="$var_cpu"
exit # RAM_SIZE="$var_ram"
} # BRG="vmbr0"
# NET="dhcp"
# GATE=""
# APT_CACHER=""
# APT_CACHER_IP=""
# DISABLEIP6="no"
# MTU=""
# SD=""
# NS=""
# MAC=""
# VLAN=""
# SSH="no"
# VERB="no"
# echo_default
# }
start # function update_script() {
build_container # header_info
description # if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
# msg_info "Updating $APP LXC"
# apt-get update &>/dev/null
# apt-get -y upgrade &>/dev/null
# msg_ok "Updated $APP LXC"
# exit
# }
msg_ok "Completed Successfully!\n" # start
# build_container
# description
# msg_ok "Completed Successfully!\n"