2014-08-04 14:20:50 +01:00
|
|
|
#!/bin/sh -x
|
|
|
|
|
|
|
|
if=eth0
|
|
|
|
|
|
|
|
# Manually configure the first ethernet device
|
2014-08-04 14:32:59 +01:00
|
|
|
cat >/etc/network/interfaces.d/"$if"<<EOT
|
2015-01-14 22:53:01 -08:00
|
|
|
allow-hotplug $if
|
2014-08-04 14:20:50 +01:00
|
|
|
iface $if inet dhcp
|
|
|
|
EOT
|