Difference between revisions of "Lxc one liners"
Jump to navigation
Jump to search
(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 ```") |
|||
Line 1: | Line 1: | ||
+ | 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 | 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 | ||
``` | ``` |
Latest revision as of 16:01, 20 June 2023
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