From 4ccf823d7abf445c9aac43e217504f9386426b96 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 09:11:46 -0400 Subject: [PATCH 1/6] Update install.func Spinner update --- misc/install.func | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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. From bdb7126a38c3dfe40e34de65f0da2621107cc702 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 09:12:55 -0400 Subject: [PATCH 2/6] Update create_lxc.sh Spinner update --- ct/create_lxc.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 010dffb8b..f52186004 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. From dafa19a6086abb41d8c3f9656f26169ba2ef34b3 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 09:14:33 -0400 Subject: [PATCH 3/6] Update build.func Spinner update --- misc/build.func | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/misc/build.func b/misc/build.func index bac97de5d..c259eeaac 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. From 80482414c4f8596b7c234f451f1fe4a70a84c714 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 10:34:30 -0400 Subject: [PATCH 4/6] Update aria2.sh Correct port --- ct/aria2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/aria2.sh b/ct/aria2.sh index c04ecc5d9..a0ad7ac59 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -67,4 +67,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${APP} should be accessible via the following IP. - ${BL}http://${IP}:6800${CL}" + ${BL}http://${IP}:6880${CL}" From f17592cfc73109ea5873da0f5bfe9dce9615a1d7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 10:35:54 -0400 Subject: [PATCH 5/6] Update aria2.sh tweak --- ct/aria2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/aria2.sh b/ct/aria2.sh index a0ad7ac59..7fc96b973 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. +echo -e "${APP} should be reachable by going to the following URL. ${BL}http://${IP}:6880${CL}" From 7ebc6ea84f402e20a706debf0a2986cf7ece84a4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 21 Apr 2024 11:25:36 -0400 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) 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