Updated Branches: refs/heads/master 2424dcf62 -> b6f7dccf0
CLOUDSTACK-3533: Fix missing parameter of dhcp_release Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b6f7dccf Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b6f7dccf Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b6f7dccf Branch: refs/heads/master Commit: b6f7dccf0bdd8b5bfd7374819b972ec98f5511b2 Parents: 2424dcf Author: Sheng Yang <[email protected]> Authored: Wed Jul 24 00:03:14 2013 -0700 Committer: Sheng Yang <[email protected]> Committed: Wed Jul 24 00:04:44 2013 -0700 ---------------------------------------------------------------------- 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/b6f7dccf/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 491186f..4eaecd4 100755 --- a/patches/systemvm/debian/config/root/edithosts.sh +++ b/patches/systemvm/debian/config/root/edithosts.sh @@ -105,7 +105,7 @@ if [ $no_dhcp_release -eq 0 ] then #release previous dhcp lease if present logger -t cloud "edithosts: releasing $ipv4" - dhcp_release eth0 $ip $(grep $ip $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
