changeset 997 | 02ca7e4cc631 |
parent 993 | 43ccab60bb32 |
child 998 | 1b3bc0a2de41 |
--- a/.bashrc Tue Sep 28 12:45:16 2021 +0300 +++ b/.bashrc Tue Jun 07 13:41:05 2022 +0300 @@ -328,3 +328,9 @@ -------------------------\n\ total: %{time_total}\n" "$@" } + +myvbox-halt-all() { + vboxmanage list runningvms |& tr -d '\r' | while read name uuid; do + vboxmanage controlvm "$uuid" acpipowerbutton + done +}