livecd-rootfs/live-build/ubuntu-desktop-next/hooks/04-configure_network.chroot
Didier Roche 04b0ecd5a6 Import patches-unapplied version 2.306 to ubuntu/wily-proposed
Imported using git-ubuntu import.

Changelog parent: f5af78966b977349a8f7dae9fd2fcc042246d3bc

New changelog entries:
  * Create hooks and image build config for the ubuntu-desktop-next
    new based on snappy image.
2015-05-29 10:08:20 +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