finally fixed
This commit is contained in:
parent
114ed607a8
commit
e155388f39
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ while true; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -e "\nauto ens3\niface ens3 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
|
echo -e "\nauto ens3\niface ens3 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/
|
cp /mnt/root/dhcpd.conf /mnt/etc/dhcp/
|
||||||
sed -i 's/^INTERFACES=.*/INTERFACES="ens3"/' /mnt/etc/default/isc-dhcp-server
|
sed -i 's/^INTERFACES=.*/INTERFACES="ens3"/' /mnt/etc/default/isc-dhcp-server
|
||||||
|
|
Loading…
Reference in a new issue