Make sure cube script works in all locale envs

This commit is contained in:
deajan 2025-04-28 20:09:53 +02:00
parent dafeb23b5b
commit 7b6a3ff4be

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Script ver 2025022301
# Script ver 2025042801
#TODO: blockcommit removes current snapshots, even if not done by cube
# - it's interesting to make housekeeping, let's make this an option
@ -26,6 +26,9 @@ SNAPSHOT_FAILED_FILE="${ROOT_DIR}/SNAPSHOT_FAILED"
# default tenant if extraction of tenant name failed
DEFAULT_TENANT=netperfect
# Force libvirt to talk in parseable english
export LANG=C
SCRIPT_ERROR=false
function log {