@@ -371,7 +371,7 @@ advanced_settings() {
371371 fi
372372 done
373373
374- while true; do
374+ while true; do
375375 if PW1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --passwordbox "\nSet Root Password (needed for root ssh access)" 9 58 --title "PASSWORD (leave blank for automatic login)" 3>&1 1>&2 2>&3); then
376376 # Empty = Autologin
377377 if [[ -z "$PW1" ]]; then
@@ -428,7 +428,7 @@ advanced_settings() {
428428 else
429429 HN=$(echo "${CT_NAME,,}" | tr -d ' ')
430430 fi
431- # Hostname validate (RFC 1123)
431+ # Hostname validate (RFC 1123)
432432 if [[ "$HN" =~ ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ ]]; then
433433 echo -e "${HOSTNAME}${BOLD}${DGN}Hostname: ${BGN}$HN${CL}"
434434 break
@@ -907,7 +907,8 @@ check_container_storage() {
907907}
908908
909909start() {
910- source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) if command -v pveversion >/dev/null 2>&1; then
910+ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
911+ if command -v pveversion >/dev/null 2>&1; then
911912 install_script
912913 else
913914 CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \
@@ -1052,7 +1053,7 @@ lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
10521053EOF
10531054 fi
10541055
1055- # This starts the container and executes <app>-install.sh
1056+ # This starts the container and executes <app>-install.sh
10561057 msg_info "Starting LXC Container"
10571058 pct start "$CTID"
10581059 msg_ok "Started LXC Container"
@@ -1079,7 +1080,7 @@ EOF'
10791080 pct exec "$CTID" -- bash -c "apt-get update >/dev/null && apt-get install -y sudo curl mc gnupg2 >/dev/null"
10801081 fi
10811082 msg_ok "Customized LXC Container"
1082- lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
1083+ lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
10831084}
10841085
10851086# This function sets the description of the container.
0 commit comments