Lxc one liners

From UVOO Tech Wiki
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