mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
Configure a second possible NIC (eth1)
This makes it possible to have one NIC controlled by vmnet and another controlled by slirp. If eth1 doesn't exist then a harmless message is generated during bootup: (with no appreciable delay) * Starting networking ... * lo ... [ ok ] * eth0 ... [ ok ] * eth1 ...ip: ioctl 0x8913 failed: No such device [ !! ] Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
parent
0281e1999a
commit
6ca504f192
@ -4,3 +4,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user