openvz start all containers at once

for ctid in `vzlist -SHo ctid`; do vzctl start $ctid; done

if you want stop all running OpenVZ containers:

 

 

for ctid in `vzlist -aHo ctid`; do vzctl stop $ctid; done

Leave a Reply

Your email address will not be published. Required fields are marked *