Updated Branches:
  refs/heads/master-6-17-stable a54d2347f -> 5e1f6e6a0


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/d70c9c5f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d70c9c5f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d70c9c5f

Branch: refs/heads/master-6-17-stable
Commit: d70c9c5f6d6dbde98985c6df546c2992caeac9e7
Parents: a54d234
Author: Jayapal <[email protected]>
Authored: Tue Jul 9 13:14:43 2013 +0530
Committer: Jayapal <[email protected]>
Committed: Tue Jul 9 13:14:43 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/d70c9c5f/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 f8dd7e2..187e7bb 100755
--- a/patches/systemvm/debian/config/root/edithosts.sh
+++ b/patches/systemvm/debian/config/root/edithosts.sh
@@ -94,7 +94,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"

Reply via email to