Skip to content

Commit c7f2658

Browse files
author
Jayapal
committed
CLOUDSTACK-3404 fixed vm deploy in ipv6 network, dhcp_release is performed only in ipv4
1 parent c0a2821 commit c7f2658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎patches/systemvm/debian/config/root/edithosts.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ wait_for_dnsmasq () {
9696
return 1
9797
}
9898

99-
if [ $no_dhcp_release -eq 0 ]
99+
if [ "$ipv4" != '' -a $no_dhcp_release -eq 0 ]
100100
then
101101
#release previous dhcp lease if present
102102
logger -t cloud "edithosts: releasing $ipv4"

0 commit comments

Comments
 (0)