From b94e0c0ded07f2918111125ab3422fb8d5009483 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 15 Jul 2023 09:53:58 +0200 Subject: [PATCH] =?utf8?q?Poprawienie=20b=C5=82=C4=99du=20w=20funkcji=20'u?= =?utf8?q?pdate=5Fcontainers=5Fdescription'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- database.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.sh b/database.sh index 8758187..d9ce991 100644 --- a/database.sh +++ b/database.sh @@ -6,7 +6,7 @@ function update_containers_description() { list=$(cut -d ";" -f 1 $DATABASE |\ sed -e 's/images://g' -e 's@/amd64@@g' |\ awk '{printf $1" "}'); - lxc image list :images -f csv > /tmp/idle_images_list.csv; + lxc image list images: -f csv > /tmp/idle_images_list.csv; for contName in $list; do contDesc=$(grep "${contName}\ " /tmp/idle_images_list.csv | grep 'amd64' | grep 'CONTAINER' | cut -d "," -f 4); dbLine=$(grep "^images:${contName}" $DATABASE); -- 2.39.5