1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-26 10:49:56 +02:00

Update update-lxcs.sh

tweak
This commit is contained in:
tteckster 2023-05-17 17:56:11 -04:00 committed by GitHub
parent c71f204e26
commit bb0f9e7a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ function update_container() {
read -ra disk_info_array <<< "$disk_info"
echo -e "${BL}[Info]${GN} Updating ${BL}$container${CL} : ${GN}$name${CL} - ${YW}Boot Disk: ${disk_info_array[0]}% full [${disk_info_array[1]}/${disk_info_array[2]} used, ${disk_info_array[3]} free]${CL}\n"
else
echo -e "${BL}[Info]${GN} Updating ${BL}$container${CL} : ${GN}$name${CL} ${YW}[No disk info for ${os}]${CL}\n"
echo -e "${BL}[Info]${GN} Updating ${BL}$container${CL} : ${GN}$name${CL} - ${YW}[No disk info for ${os}]${CL}\n"
fi
case "$os" in
alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;;