aboutsummaryrefslogtreecommitdiffstats
path: root/testing/anbox/anbox-networkmanager.post-install
blob: 1614b602268eced4cfafd4af127c81ce19e7d303 (plain)
1
2
3
4
5
6
7
#!/bin/sh

nmcli connection add type bridge ifname anbox0 -- connection.id anbox-net ipv4.method shared ipv4.addresses 192.168.250.1/24

# Alternatively, we could use the anbox-bridge script
# that relies on iptables.
# https://github.com/anbox/anbox/blob/master/scripts/anbox-bridge.sh