mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 22:35:53 +00:00
Update create_lxc.sh
This commit is contained in:
@@ -121,7 +121,7 @@ function select_storage() {
|
|||||||
local NAME_TYPE="${TAG} (${TYPE})"
|
local NAME_TYPE="${TAG} (${TYPE})"
|
||||||
local USED_FMT=$(numfmt --to=iec --from-unit=K --format %.1f <<<"$USED")
|
local USED_FMT=$(numfmt --to=iec --from-unit=K --format %.1f <<<"$USED")
|
||||||
local FREE_FMT=$(numfmt --to=iec --from-unit=K --format %.1f <<<"$FREE")
|
local FREE_FMT=$(numfmt --to=iec --from-unit=K --format %.1f <<<"$FREE")
|
||||||
local INFO="Used: $USED_FMTB Free: $FREE_FMTB"
|
local INFO="Used: ${USED_FMT}B Free: ${FREE_FMT}B"
|
||||||
|
|
||||||
((${#NAME_TYPE} > COL_WIDTH)) && COL_WIDTH=${#NAME_TYPE}
|
((${#NAME_TYPE} > COL_WIDTH)) && COL_WIDTH=${#NAME_TYPE}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user