diff --git a/CHANGELOG.md b/CHANGELOG.md index 922ba2faa..6cae79878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,13 @@ - 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 Proxmox VE - Support Lifecycle** +## 2024-04-21 + +### Changed + +- **Aria2 LXC** + - NEW Script + ## 2024-04-15 ### Changed diff --git a/ct/aria2.sh b/ct/aria2.sh index a1188df87..35a968c38 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -66,5 +66,5 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${APP} should be accessible via the following IP. - ${BL}http://${IP}:6800${CL}" +echo -e "${APP} should be reachable by going to the following URL. + ${BL}http://${IP}:6880${CL}" diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 82f378d09..f6059db2c 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -17,7 +17,7 @@ CL=$(echo "\033[m") CM="${GN}✓${CL}" CROSS="${RD}✗${CL}" BFR="\\r\\033[K" -HOLD="-" +HOLD=" " # This sets error handling options and defines the error_handler function to handle errors set -Eeuo pipefail @@ -36,13 +36,13 @@ function error_handler() { # This function displays a spinner. function spinner() { - printf "\e[?25l" - spinner="/-\\|/-\\|" - spin_i=0 - while true; do - printf "\b%s" "${spinner:spin_i++%${#spinner}:1}" - sleep 0.1 - done + local chars="/-\|" + local spin_i=0 + printf "\e[?25l" + while true; do + printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" + sleep 0.1 + done } # This function displays an informational message with a yellow color. diff --git a/misc/build.func b/misc/build.func index c1fd84f1c..8295f2266 100644 --- a/misc/build.func +++ b/misc/build.func @@ -16,7 +16,7 @@ color() { CM="${GN}✓${CL}" CROSS="${RD}✗${CL}" 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. @@ -38,13 +38,13 @@ error_handler() { # This function displays a spinner. spinner() { - printf "\e[?25l" - spinner="/-\\|/-\\|" - spin_i=0 - while true; do - printf "\b%s" "${spinner:spin_i++%${#spinner}:1}" - sleep 0.1 - done + local chars="/-\|" + local spin_i=0 + printf "\e[?25l" + while true; do + printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" + sleep 0.1 + done } # This function displays an informational message with a yellow color. diff --git a/misc/install.func b/misc/install.func index 578bf0a8b..ab0b7d5d6 100644 --- a/misc/install.func +++ b/misc/install.func @@ -12,7 +12,7 @@ color() { CM="${GN}✓${CL}" CROSS="${RD}✗${CL}" 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" @@ -49,13 +49,13 @@ error_handler() { # This function displays a spinner. spinner() { - printf "\e[?25l" - spinner="/-\\|/-\\|" - spin_i=0 - while true; do - printf "\b%s" "${spinner:spin_i++%${#spinner}:1}" - sleep 0.2 - done + local chars="/-\|" + local spin_i=0 + printf "\e[?25l" + while true; do + printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars}:1}" + sleep 0.1 + done } # This function displays an informational message with a yellow color.