Ubuntu Pastebin

Paste from ogra at Fri, 19 Jun 2015 13:03:29 +0000

Download as text
1
2
3
4
5
6
7
8
9
#!/bin/sh -x

if=eth0

# Manually configure the first ethernet device
cat >/etc/network/interfaces.d/"$if"<<EOT
allow-hotplug $if
iface $if inet dhcp
EOT
Download as text