CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4

This commit is contained in:
Jayapal 2013-07-09 13:14:43 +05:30
parent e46b90078e
commit 4779a00594

View File

@ -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"