sleep 120 to stop container

This commit is contained in:
2024-03-30 18:44:40 +01:00
parent 82273f7289
commit e23475ff26
2 changed files with 2 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ BGreen='\033[1;32m' # Green
Color_Off='\033[0m' # Text Reset
function stop_container() {
sleep 120
lxc stop ${1}
echo -e $(date) "- ${BGreen}Container ${1} stopped${Color_Off}"
}