CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c7f26583 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c7f26583 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c7f26583 Branch: refs/heads/4.2 Commit: c7f26583a26eb7e4f15feafc292ec9576df61a8d Parents: c0a2821 Author: Jayapal <[email protected]> Authored: Tue Jul 9 13:12:06 2013 +0530 Committer: Jayapal <[email protected]> Committed: Tue Jul 9 13:12:06 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/c7f26583/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 513571e..2d99586 100755 --- a/patches/systemvm/debian/config/root/edithosts.sh +++ b/patches/systemvm/debian/config/root/edithosts.sh @@ -96,7 +96,7 @@ wait_for_dnsmasq () { return 1 } -if [ $no_dhcp_release -eq 0 ] +if [ "$ipv4" != '' -a $no_dhcp_release -eq 0 ] then #release previous dhcp lease if present logger -t cloud "edithosts: releasing $ipv4"
