mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-11 05:07:09 +00:00
'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.
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
|