aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stage2/02-net-tweaks/00-packages-sys-debian3
-rwxr-xr-xstage2/02-net-tweaks/01-run.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/stage2/02-net-tweaks/00-packages-sys-debian b/stage2/02-net-tweaks/00-packages-sys-debian
index 1cc3c36..147b9bd 100644
--- a/stage2/02-net-tweaks/00-packages-sys-debian
+++ b/stage2/02-net-tweaks/00-packages-sys-debian
@@ -1 +1,2 @@
-isc-dhcp-client
+#isc-dhcp-client
+dhcpcd5
diff --git a/stage2/02-net-tweaks/01-run.sh b/stage2/02-net-tweaks/01-run.sh
index fae4ed0..f5bc54c 100755
--- a/stage2/02-net-tweaks/01-run.sh
+++ b/stage2/02-net-tweaks/01-run.sh
@@ -11,6 +11,8 @@ install -m 644 files/network/enN "${ROOTFS_DIR}/etc/network/interfaces.d/"
install -v -d "${ROOTFS_DIR}/etc/wpa_supplicant"
install -v -m 600 files/wpa_supplicant.conf "${ROOTFS_DIR}/etc/wpa_supplicant/"
+echo "env force_hostname=YES" >> "${ROOTFS_DIR}/etc/dhcpcd.conf"
+
if [ -v WPA_COUNTRY ]; then
echo "country=${WPA_COUNTRY}" >> "${ROOTFS_DIR}/etc/wpa_supplicant/wpa_supplicant.conf"
fi