This commit is contained in:
Patrick 2024-11-14 21:04:24 +01:00
parent 71f9a54323
commit 327b544f41

View file

@ -25,6 +25,6 @@ done
echo -e "\nauto enp0s3\niface enp0s3 inet static\n address 192.168.1.1\n netmask 255.255.255.0\n gateway 192.168.1.0" | tee -a /mnt/etc/network/interfaces
cp /mnt/root/dhcpd.conf /mnt/etc/dhcp/
sed -i 's/^INTERFACES=.*/INTERFACES="enp0s3"/' /mnt/etc/default/isc-dhcp-server
sed -i 's/^INTERFACESv4=.*/INTERFACESv4="enp0s3"/' /mnt/etc/default/isc-dhcp-server
read a