mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "5e515c1e23156617e16219668d5dea8e839542ce" and "37f42468ba295b42f4cd636fb31d8eacbd2703ab" have entirely different histories.
5e515c1e23
...
37f42468ba
|
@ -10,13 +10,6 @@
|
||||||
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
|
||||||
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
||||||
|
|
||||||
## 2024-05-31
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **Advanced Settings**
|
|
||||||
- Passwords are now masked
|
|
||||||
|
|
||||||
## 2024-05-30
|
## 2024-05-30
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -232,24 +232,16 @@ advanced_settings() {
|
||||||
done
|
done
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
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
|
if PW1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --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
|
if [[ ! -z "$PW1" ]]; then
|
||||||
if [[ "$PW1" == *" "* ]]; then
|
if [[ "$PW1" == *" "* ]]; then
|
||||||
whiptail --msgbox "Password cannot contain spaces. Please try again." 8 58
|
whiptail --msgbox "Password cannot contain spaces. Please try again." 8 58
|
||||||
elif [ ${#PW1} -lt 5 ]; then
|
elif [ ${#PW1} -lt 5 ]; then
|
||||||
whiptail --msgbox "Password must be at least 5 characters long. Please try again." 8 58
|
whiptail --msgbox "Password must be at least 5 characters long. Please try again." 8 58
|
||||||
else
|
else
|
||||||
if PW2=$(whiptail --backtitle "Proxmox VE Helper Scripts" --passwordbox "\nVerify Root Password" 9 58 --title "PASSWORD VERIFICATION" 3>&1 1>&2 2>&3); then
|
PW="-password $PW1"
|
||||||
if [[ "$PW1" == "$PW2" ]]; then
|
echo -e "${DGN}Using Root Password: ${BGN}$PW1${CL}"
|
||||||
PW="-password $PW1"
|
break
|
||||||
echo -e "${DGN}Using Root Password: ${BGN}********${CL}"
|
|
||||||
break
|
|
||||||
else
|
|
||||||
whiptail --msgbox "Passwords do not match. Please try again." 8 58
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
exit-script
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
PW1="Automatic Login"
|
PW1="Automatic Login"
|
||||||
|
|
Loading…
Reference in New Issue