diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-30 18:47:01 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-30 18:47:01 +0200 |
commit | dd53c45a2cb46f882a856869de26215942749cba (patch) | |
tree | 332f56863a8a243a33f55f889cc2132d45ece39a /utils/lxc.sh | |
parent | 4e307edb2d3e5a726d78d73dea1ebe4b9d831615 (diff) | |
download | searxng-dd53c45a2cb46f882a856869de26215942749cba.tar.gz searxng-dd53c45a2cb46f882a856869de26215942749cba.zip |
docs: add utils/lxc.sh docs, normalize filtron, morty & searx docs
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-x | utils/lxc.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/lxc.sh b/utils/lxc.sh index b03ce2af8..2526a257d 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -324,6 +324,13 @@ lxc_delete_images_localy() { lxc_delete_local_image "$i" done fi + + for i in $(lxc image list --format csv | grep '^,' | sed 's/,\([^,]*\).*$/\1/'); do + if ask_yn "Image $i has no alias, do you want to delete the image?" Yn; then + lxc_delete_local_image "$i" + fi + done + echo lxc image list local: } |