From 89952ead1165a35f101e063c7080d800823804c7 Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Sat, 22 May 2021 23:22:25 +0430 Subject: [PATCH] anbox: Change veth name to anbox0 --- lxc-configs/config | 2 +- scripts/run-container.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lxc-configs/config b/lxc-configs/config index 5c62ec7..da8582e 100644 --- a/lxc-configs/config +++ b/lxc-configs/config @@ -13,7 +13,7 @@ lxc.mount.auto = cgroup:ro sys:ro proc lxc.network.type = veth lxc.network.flags = up -lxc.network.link = lxcbr0 +lxc.network.link = anbox0 lxc.network.name = eth0 lxc.network.hwaddr = 00:16:3e:f9:d3:03 lxc.network.mtu = 1500 diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 382d3fd..549b43f 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -13,6 +13,7 @@ start anbox-sensors # start lxc-net, that sets up lxc bridge start lxc-net +brctl addbr anbox0 # stop nfcd to not conflict with anbox stop nfcd -- 2.47.3