mirror of https://github.com/tteck/Proxmox.git
Update build.func
This commit is contained in:
parent
2c9be76d64
commit
bdf0061e98
|
@ -164,7 +164,8 @@ advanced_settings() {
|
|||
exit-script
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
whiptail --msgbox "Once enabled, autologin cannot be reversed or undone." 8 58
|
||||
if PW1=$(whiptail --inputbox "\nSet Root Password (needed for root ssh access)" 9 58 --title "PASSWORD(leave blank for automatic login)" 3>&1 1>&2 2>&3); then
|
||||
if [ -z $PW1 ]; then
|
||||
PW1="Automatic Login"
|
||||
|
@ -457,9 +458,9 @@ build_container() {
|
|||
TEMP_DIR=$(mktemp -d)
|
||||
pushd $TEMP_DIR >/dev/null
|
||||
if [ "$var_os" == "alpine" ]; then
|
||||
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/alpine-install.func)"
|
||||
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/dev/misc/alpine-install.func)"
|
||||
else
|
||||
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)"
|
||||
export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/dev/misc/install.func)"
|
||||
fi
|
||||
export tz="$timezone"
|
||||
if [[ "$APP" == "Docker" || "$APP" == "Umbrel" || "$APP" == "CasaOS" || "$APP" == "Home Assistant" ]]; then
|
||||
|
@ -527,7 +528,7 @@ EOF
|
|||
sleep 2
|
||||
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
||||
fi
|
||||
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
|
||||
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/install/$var_install.sh)" || exit
|
||||
}
|
||||
|
||||
description() {
|
||||
|
|
Loading…
Reference in New Issue