Cervantes: include hostname in DHCP request (#8481)

This commit is contained in:
tjader authored and GitHub committed 2021-11-28 23:24:37 +01:00
1 parent 10305789dc
commit c8c55423a7
1 file changed
+3 -1
+3 -1
View File
@@ -2,5 +2,7 @@
./release-ip.sh
hostname=$(hostname -s)
# Use udhcpc to obtain IP.
udhcpc -S -i eth0 -s /etc/udhcpc/default.script -t15 -T10 -A3 -b -q
udhcpc -S -i eth0 -s /etc/udhcpc/default.script -t15 -T10 -A3 -b -q -F "${hostname}"