Created
May 2, 2017 16:34
-
-
Save rluisr/1df9e82242fb86a0d14728a304c31b21 to your computer and use it in GitHub Desktop.
[Bash one liner] Reboot all LXC Container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `(lxc-ls)`; do lxc-stop -n $i -r; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment