From 4779a00594cf83e553580fedefd80fd137ae4508 Mon Sep 17 00:00:00 2001 From: Jayapal Date: Tue, 9 Jul 2013 13:14:43 +0530 Subject: [PATCH] CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4 --- 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 513571e69d3..2d995861177 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"