diff --git a/configs/scripts/server.sh b/configs/scripts/server.sh index 497647b..9df77e5 100755 --- a/configs/scripts/server.sh +++ b/configs/scripts/server.sh @@ -24,7 +24,7 @@ done echo -e "\nauto eth0\niface eth0 inet static\n address 192.168.1.1\n netmask 255.255.255.0\n gateway 192.168.1.1" | tee -a /mnt/etc/network/interfaces -cp dhcpd.conf /mnt/etc/dhcp/ +cp /mnt/root/dhcpd.conf /mnt/etc/dhcp/ sed -i 's/^INTERFACES=.*/INTERFACES="eth0"/' /mnt/etc/default/isc-dhcp-server read a