sleep 120 to stop container
This commit is contained in:
@@ -9,6 +9,7 @@ Color_Off='\033[0m' # Text Reset
|
||||
TMSTMP=$(date +'%Y%m%d%H%M%S')
|
||||
|
||||
function stop_container() {
|
||||
sleep 120
|
||||
lxc stop ${1}
|
||||
echo -e $(date) "- ${BGreen}Container ${1} stopped${Color_Off}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user