From 94966e219cd6e51bcd375259fa9cf5ceb10c2b60 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 2 Jun 2025 10:02:21 +0200 Subject: [PATCH] Update pve-privilege-converter.sh --- tools/pve/pve-privilege-converter.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/pve/pve-privilege-converter.sh b/tools/pve/pve-privilege-converter.sh index c03c2803..f26f02ab 100644 --- a/tools/pve/pve-privilege-converter.sh +++ b/tools/pve/pve-privilege-converter.sh @@ -112,7 +112,7 @@ perform_conversion() { UNPRIVILEGED=false fi - msg_info "Restoring as $(if $UNPRIVILEGED; then echo privileged; else echo unprivileged; fi) container" + msg_custom "🛠️" "\e[36m" "Restoring as $(if $UNPRIVILEGED; then echo privileged; else echo unprivileged; fi) container" restore_opts=("$NEW_CONTAINER_ID" "$BACKUP_PATH" --storage "$TARGET_STORAGE") if $UNPRIVILEGED; then restore_opts+=(--unprivileged false) @@ -171,12 +171,12 @@ summary() { echo msg_custom "📄" "\e[36m" "Summary:" - msg_custom "🔹" "\e[36m" "Original Container: $CONTAINER_ID ($CONTAINER_NAME)" - msg_custom "💾" "\e[36m" "Backup Storage: $BACKUP_STORAGE" - msg_custom "🗄️ " "\e[36m" "Target Storage: $TARGET_STORAGE" - msg_custom "📦" "\e[36m" "Backup Path: $BACKUP_PATH" - msg_custom "🆔" "\e[36m" "New Container ID: $NEW_CONTAINER_ID" - msg_custom "🔁" "\e[36m" "Privilege Conversion: $conversion" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "Original Container:" "$CONTAINER_ID ($CONTAINER_NAME)")" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "Backup Storage:" "$BACKUP_STORAGE")" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "Target Storage:" "$TARGET_STORAGE")" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "Backup Path:" "$BACKUP_PATH")" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "New Container ID:" "$NEW_CONTAINER_ID")" + msg_custom " " "\e[36m" "$(printf "%-22s %s" "Privilege Conversion:" "$conversion")" echo }