Lxc one liners

From UVOO Tech Wiki
Revision as of 20:41, 22 August 2021 by Busk (talk | contribs) (Created page with "``` for i in $(lxc list --format=json | jq --raw-output '.[].name'); do echo $i; lxc stop $i; lxc config set $i boot.autostart false; done ```")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
for i in $(lxc list --format=json | jq --raw-output '.[].name'); do echo $i; lxc stop $i; lxc config set $i boot.autostart false; done