Cervantes: include hostname in DHCP request (#8481)

reviewable/pr8491/r1
tjader 2 years ago committed by GitHub
parent 10305789dc
commit c8c55423a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save