Skip to content

Commit 0f4cddf

Browse files
authored
the vagrant halt all script
1 parent 1c7cc7a commit 0f4cddf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vagrant-halt-all.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
vagrant global-status | grep parallels | cut -c 1-9 | while read line; do echo $line; vagrant halt $line; done;
3+
echo "All vagrant boxes are halted"
4+
5+
6+

0 commit comments

Comments
 (0)