diff --git a/bootstrap/sbin/rebuild_system_from_scratch.sh b/bootstrap/sbin/rebuild_system_from_scratch.sh index 31fa2e8f4fa4a3c3c7e224a1ec42b622871bfa47..8335ba864b09c3008e1af310e1394d57dc6293fa 100755 --- a/bootstrap/sbin/rebuild_system_from_scratch.sh +++ b/bootstrap/sbin/rebuild_system_from_scratch.sh @@ -53,10 +53,7 @@ function remove_images() if [ ${#images} -eq 0 ]; then echo -e "\tThere are no images to delete." else - echo -e "\tWill now delete the following Docker images:" - for image in ${images}; do - printf "\t\t%s\n" ${image} - done + echo -e "\tWill now delete the Docker images:" docker rmi -f ${images} fi }