Compare commits

..

No commits in common. "7ebc6ea84f402e20a706debf0a2986cf7ece84a4" and "82b6e743f140b62ae218ffca78438baa265449fe" have entirely different histories.

5 changed files with 26 additions and 33 deletions

View File

@ -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-04-21
### Changed
- **Aria2 LXC**
- NEW Script
## 2024-04-15 ## 2024-04-15
### Changed ### Changed

View File

@ -66,5 +66,5 @@ 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 accessible via the following IP.
${BL}http://${IP}:6880${CL}" ${BL}http://${IP}:6800${CL}"

View File

@ -17,7 +17,7 @@ CL=$(echo "\033[m")
CM="${GN}${CL}" CM="${GN}${CL}"
CROSS="${RD}${CL}" CROSS="${RD}${CL}"
BFR="\\r\\033[K" BFR="\\r\\033[K"
HOLD=" " HOLD="-"
# This sets error handling options and defines the error_handler function to handle errors # This sets error handling options and defines the error_handler function to handle errors
set -Eeuo pipefail set -Eeuo pipefail
@ -36,13 +36,13 @@ function error_handler() {
# This function displays a spinner. # This function displays a spinner.
function spinner() { function spinner() {
local chars="/-\|" printf "\e[?25l"
local spin_i=0 spinner="/-\\|/-\\|"
printf "\e[?25l" spin_i=0
while true; do while true; do
printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" printf "\b%s" "${spinner:spin_i++%${#spinner}:1}"
sleep 0.1 sleep 0.1
done done
} }
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.

View File

@ -16,7 +16,7 @@ color() {
CM="${GN}✓${CL}" CM="${GN}✓${CL}"
CROSS="${RD}✗${CL}" CROSS="${RD}✗${CL}"
BFR="\\r\\033[K" BFR="\\r\\033[K"
HOLD=" " HOLD="-"
} }
# This function enables error handling in the script by setting options and defining a trap for the ERR signal. # This function enables error handling in the script by setting options and defining a trap for the ERR signal.
@ -38,13 +38,13 @@ error_handler() {
# This function displays a spinner. # This function displays a spinner.
spinner() { spinner() {
local chars="/-\|" printf "\e[?25l"
local spin_i=0 spinner="/-\\|/-\\|"
printf "\e[?25l" spin_i=0
while true; do while true; do
printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" printf "\b%s" "${spinner:spin_i++%${#spinner}:1}"
sleep 0.1 sleep 0.1
done done
} }
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.

View File

@ -12,7 +12,7 @@ color() {
CM="${GN}✓${CL}" CM="${GN}✓${CL}"
CROSS="${RD}✗${CL}" CROSS="${RD}✗${CL}"
BFR="\\r\\033[K" BFR="\\r\\033[K"
HOLD=" " HOLD="-"
} }
# This function enables IPv6 if it's not disabled and sets verbose mode if the global variable is set to "yes" # This function enables IPv6 if it's not disabled and sets verbose mode if the global variable is set to "yes"
@ -49,13 +49,13 @@ error_handler() {
# This function displays a spinner. # This function displays a spinner.
spinner() { spinner() {
local chars="/-\|" printf "\e[?25l"
local spin_i=0 spinner="/-\\|/-\\|"
printf "\e[?25l" spin_i=0
while true; do while true; do
printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" printf "\b%s" "${spinner:spin_i++%${#spinner}:1}"
sleep 0.1 sleep 0.2
done done
} }
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.