]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
anbox: Change veth name to anbox0
authorErfan Abdi <erfangplus@gmail.com>
Sat, 22 May 2021 18:52:25 +0000 (23:22 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Sat, 22 May 2021 19:30:14 +0000 (00:00 +0430)
lxc-configs/config
scripts/run-container.sh

index 5c62ec70dc71168a4d4e4d152ceeb182fdca007f..da8582ea67889d226384af7f8e80c9cbb1915bcb 100644 (file)
@@ -13,7 +13,7 @@ lxc.mount.auto = cgroup:ro sys:ro proc
 
 lxc.network.type = veth
 lxc.network.flags = up
 
 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
 lxc.network.name = eth0
 lxc.network.hwaddr = 00:16:3e:f9:d3:03
 lxc.network.mtu = 1500
index 382d3fd1e12f588dc4e040cb16a527146f930220..549b43f59e6a1b9704ca5ac780c9083172c783dc 100644 (file)
@@ -13,6 +13,7 @@ start anbox-sensors
 
 # start lxc-net, that sets up lxc bridge
 start lxc-net
 
 # start lxc-net, that sets up lxc bridge
 start lxc-net
+brctl addbr anbox0
 
 # stop nfcd to not conflict with anbox
 stop nfcd
 
 # stop nfcd to not conflict with anbox
 stop nfcd