Cervantes: include hostname in DHCP request (#8481)
This commit is contained in:
1 parent
10305789dc
commit
c8c55423a7
1 file changed
+3
-1
@@ -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}"
|
||||
Reference in new issue
Block a user