Lxc one liners
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