Lxc one liners

From UVOO Tech Wiki
Revision as of 16:01, 20 June 2023 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

disable auto start

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