mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4
This commit is contained in:
parent
e46b90078e
commit
4779a00594
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user