Skip to content

Instantly share code, notes, and snippets.

@rluisr
Created May 2, 2017 16:34
Show Gist options
  • Save rluisr/1df9e82242fb86a0d14728a304c31b21 to your computer and use it in GitHub Desktop.
Save rluisr/1df9e82242fb86a0d14728a304c31b21 to your computer and use it in GitHub Desktop.
[Bash one liner] Reboot all LXC Container
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