livecd-rootfs/live-build/ubuntu-desktop-next/hooks/04-configure_network.chroot
Sebastien Bacher eab885e336 Import patches-unapplied version 2.313 to ubuntu/wily-proposed
Imported using git-ubuntu import.

Changelog parent: c046fa9fdcbf36b055b539a6ab23257fa1f1ff0e

New changelog entries:
  * Revert symlink changes, that creates build issues, copy updated hook
    to the desktop-next directory instead
2015-06-10 09:48:42 +00:00

10 lines
154 B
Bash
Executable File

#!/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