mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 15:29:56 +00:00
tap-vsockd: add tap-vsockd service to bring up eth1
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>
This commit is contained in:
@@ -9,3 +9,5 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user