Add unsupported to lldap

This commit is contained in:
Sam Heinz
2024-10-21 13:55:40 +10:00
parent f9f4a53a74
commit 007c4cab49
2 changed files with 69 additions and 67 deletions
+68 -66
View File
@@ -1,73 +1,75 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/asylumexp/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)
# Co-Author: remz1337 # # Co-Author: remz1337
# License: MIT # # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # # https://github.com/tteck/Proxmox/raw/main/LICENSE
function header_info { echo "Unsupported."
clear
cat <<"EOF" # function header_info {
____ __ # clear
/ / /___/ /___ _____ # cat <<"EOF"
/ / / __ / __ `/ __ \ # ____ __
/ / / /_/ / /_/ / /_/ / # / / /___/ /___ _____
/_/_/\__,_/\__,_/ .___/ # / / / __ / __ `/ __ \
/_/ # / / / /_/ / /_/ / /_/ /
# /_/_/\__,_/\__,_/ .___/
# /_/
EOF # EOF
} # }
header_info # header_info
echo -e "Loading..." # echo -e "Loading..."
APP="lldap" # APP="lldap"
var_disk="4" # var_disk="4"
var_cpu="1" # var_cpu="1"
var_ram="512" # var_ram="512"
var_os="debian" # var_os="debian"
var_version="12" # var_version="12"
variables # variables
color # color
catch_errors # catch_errors
function default_settings() { # function default_settings() {
CT_TYPE="1" # CT_TYPE="1"
PW="" # PW=""
CT_ID=$NEXTID # CT_ID=$NEXTID
HN=$NSAPP # HN=$NSAPP
DISK_SIZE="$var_disk" # DISK_SIZE="$var_disk"
CORE_COUNT="$var_cpu" # CORE_COUNT="$var_cpu"
RAM_SIZE="$var_ram" # RAM_SIZE="$var_ram"
BRG="vmbr0" # BRG="vmbr0"
NET="dhcp" # NET="dhcp"
GATE="" # GATE=""
APT_CACHER="" # APT_CACHER=""
APT_CACHER_IP="" # APT_CACHER_IP=""
DISABLEIP6="no" # DISABLEIP6="no"
MTU="" # MTU=""
SD="" # SD=""
NS="" # NS=""
MAC="" # MAC=""
VLAN="" # VLAN=""
SSH="no" # SSH="no"
VERB="no" # VERB="no"
echo_default # echo_default
} # }
function update_script() { # function update_script() {
header_info # header_info
if [[ ! -f /etc/systemd/system/lldap.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi # if [[ ! -f /etc/systemd/system/lldap.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP" # msg_info "Updating $APP"
apt update # apt update
apt upgrade -y lldap # apt upgrade -y lldap
msg_ok "Updated $APP" # msg_ok "Updated $APP"
exit # exit
} # }
start # start
build_container # build_container
description # description
msg_ok "Completed Successfully!\n" # msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL. # echo -e "${APP} should be reachable by going to the following URL.
${BL}http://${IP}:17170${CL} \n" # ${BL}http://${IP}:17170${CL} \n"
+1 -1
View File
@@ -1,4 +1,4 @@
# #!/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/tteck/Proxmox/main/misc/build.func)
# # Copyright (c) 2021-2024 tteck # # Copyright (c) 2021-2024 tteck
# # Author: tteck (tteckster) # # Author: tteck (tteckster)