You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ja...@apache.org on 2013/07/09 09:46:17 UTC

[2/2] git commit: updated refs/heads/master to 4779a00

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 <ja...@apache.org>
Authored: Tue Jul 9 13:14:43 2013 +0530
Committer: Jayapal <ja...@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"