Cervantes: include hostname in DHCP request (#8481)

This commit is contained in:
tjader
2021-11-28 19:24:37 -03:00
committed by GitHub
parent 10305789dc
commit c8c55423a7

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}"