From fe81504e808f6126e669a2bf1d8a9efab0a05af6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 05 Aug 2014 16:11:17 -0400 Subject: installers/pc: Write "iface ethN" blocks --- diff --git a/installers/data/pc.sh b/installers/data/pc.sh index d86e48d..94d7d62 100644 --- a/installers/data/pc.sh +++ b/installers/data/pc.sh @@ -107,6 +107,9 @@ if [ "x${select_result}" = 'xManual' ]; then printf '\tdhcpd-option lease %s\n' \ "${net_dhcpd_lease}" >&3 fi + else + printf 'auto %s\niface %s inet dhcp\n' \ + "${net_iface}" "${net_iface}" >&3 fi case "${net_iface%%[0-9]}" in wlan) if ${net_static}; then @@ -137,6 +140,7 @@ if [ "x${select_result}" = 'xManual' ]; then fi ;; esac + printf '\n' >&3 done exec 3>&- fi -- cgit v0.9.1