mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-05 08:11:39 +00:00
The tap-vsockd service is started from eth1's pre-up script. On the Mac: the bind of the AF_HYPERV socket fails, and eth1 is skipped. On Windows: if there is no database then eth1 is skipped. On Windows: if the database has network=native then eth1 is brought up. Signed-off-by: David Scott <dave.scott@docker.com>
14 lines
236 B
Plaintext
14 lines
236 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
|
|
auto eth0
|
|
iface eth0 inet dhcp
|
|
udhcpc_opts -T 1 -A 3
|
|
|
|
auto eth1
|
|
iface eth1 inet dhcp
|
|
udhcpc_opts -T 1 -A 3
|
|
metric 199
|
|
pre-up service tap-vsockd start
|
|
post-down service tap-vsockd stop
|