mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-06 01:44:06 +00:00
Allow the host to configure a static IP address for eth0 by setting the following DB keys: - net/config: "static" (default or not set -> dhcp) - net/address: IP address - net/netmask: netmask in dot notation - net/gateway: default gateway Also allow overwriting/setting "/etc/resolve.conf" by writing to the "etc/resolv.conf" key. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
|
|
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
|