From daa4c326aaad4a34e9c45fa77f3cbfd5068d7254 Mon Sep 17 00:00:00 2001 From: Jayapal Date: Thu, 4 Jul 2013 16:33:50 +0530 Subject: [PATCH] CLOUDSTACK-3312 Updated dhcp_release to listen on eth0 in edithosts.sh --- patches/systemvm/debian/config/root/edithosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/systemvm/debian/config/root/edithosts.sh b/patches/systemvm/debian/config/root/edithosts.sh index eaa82927803..513571e69d3 100755 --- a/patches/systemvm/debian/config/root/edithosts.sh +++ b/patches/systemvm/debian/config/root/edithosts.sh @@ -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