Updated Branches:
  refs/heads/master 7a8d7eaa6 -> daa4c326a

CLOUDSTACK-3312 Updated dhcp_release to listen on eth0 in edithosts.sh


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/daa4c326
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/daa4c326
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/daa4c326

Branch: refs/heads/master
Commit: daa4c326aaad4a34e9c45fa77f3cbfd5068d7254
Parents: 7a8d7ea
Author: Jayapal <[email protected]>
Authored: Thu Jul 4 16:33:50 2013 +0530
Committer: Jayapal <[email protected]>
Committed: Thu Jul 4 16:36:50 2013 +0530

----------------------------------------------------------------------
 patches/systemvm/debian/config/root/edithosts.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/daa4c326/patches/systemvm/debian/config/root/edithosts.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/root/edithosts.sh 
b/patches/systemvm/debian/config/root/edithosts.sh
index eaa8292..513571e 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
 

Reply via email to