mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3312 Updated dhcp_release to listen on eth0 in edithosts.sh
This commit is contained in:
parent
7a8d7eaa60
commit
daa4c326aa
|
|
@ -100,7 +100,7 @@ if [ $no_dhcp_release -eq 0 ]
|
|||
then
|
||||
#release previous dhcp lease if present
|
||||
logger -t cloud "edithosts: releasing $ipv4"
|
||||
dhcp_release lo $ipv4 $(grep $ipv4 $DHCP_LEASES | awk '{print $2}') > /dev/null 2>&1
|
||||
dhcp_release eth0 $ipv4 $(grep $ipv4 $DHCP_LEASES | awk '{print $2}') > /dev/null 2>&1
|
||||
logger -t cloud "edithosts: released $ipv4"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue