cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 4779a00
Date Tue, 09 Jul 2013 07:46:17 GMT
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/4779a005
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4779a005
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4779a005

Branch: refs/heads/master
Commit: 4779a00594cf83e553580fedefd80fd137ae4508
Parents: e46b900
Author: Jayapal <jayapal@apache.org>
Authored: Tue Jul 9 13:14:43 2013 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Tue Jul 9 13:15:45 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/4779a005/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"


Mime
View raw message