setip() { a=ads711 b=144.217.192.235 routes=`lxc network get lxdbr0 ipv4.routes` if [[ -z "$routes" ]]; then routes=$b; else routes="$routes;$b/32";fi lxc config set $a raw.lxc "lxc.net.0.ipv4.address = $b/24" lxc restart $a }