- 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 <ahref='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 <ahref='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/'target='_blank'rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
# This function checks if the script is running through SSH and prompts the user to confirm if they want to proceed or exit.
# This function checks if the script is running through SSH and prompts the user to confirm if they want to proceed or exit.
ssh_check() {
ssh_check() {
if command -v pveversion >/dev/null 2>&1; then
if command -v pveversion >/dev/null 2>&1 && [ -n "${SSH_CLIENT:+x}" ]; then
if [ -n "${SSH_CLIENT:+x}" ]; then
if whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH DETECTED" --yesno "It's advisable to utilize the Proxmox shell rather than SSH, as there may be potential complications with variable retrieval. Proceed using SSH?" 10 72; then
if whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Proceed using SSH" "You've chosen to proceed using SSH. If any issues arise, please run the script in the Proxmox shell before creating a repository issue." 10 72
echo "you've been warned"
else
else
clear
clear
echo "Exiting due to SSH usage. Please consider using the Proxmox shell."
exit
exit
fi
fi
fi
fi
fi
}
}
# This function displays the default values for various settings.
# This function displays the default values for various settings.