]> gitweb.morketsmerke.org Git - idle.git/commitdiff
Poprawienie błędu w funkcji 'update_containers_description'
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 07:53:58 +0000 (09:53 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 15 Jul 2023 07:53:58 +0000 (09:53 +0200)
database.sh

index 8758187f19d4ba044bdf320a5f77e3b0f35b9b99..d9ce99174e36a724233f90c6557a1ba6cce0bf0d 100644 (file)
@@ -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);