mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 05:07:09 +00:00
46882a81aa
Imported using git-ubuntu import. Changelog parent: e9c37a48e9398794be88d0f437b5f0b287e29180 New changelog entries: * live-build/ubuntu-core/hooks/04-configure_network.chroot: use 'allow-hotplug' for the network config, not 'auto', to work around systemd behavior that causes 'auto' to delay the rest of the boot when DHCP is not available on the network. * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: - port static uid/gid setup from ubuntu-touch * live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot: - byte compile .pyc files for snappy
10 lines
154 B
Bash
Executable File
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
|