cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/4.2 to 3af9633
Date Wed, 24 Jul 2013 01:08:51 GMT
Updated Branches:
  refs/heads/4.2 ae248afc5 -> 3af96338d


CLOUDSTACK-3533: Fix dhcp_release for IPv6

dhcp_release doesn't support IPv6, though it won't return failure(that's a bug
that has been fixed in recent release). So if it's IPv6, we would still use the
old way(restart dnsmasq) to refresh the lease.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3af96338
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3af96338
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3af96338

Branch: refs/heads/4.2
Commit: 3af96338dc9214ba13f32b7fb80e4b516cbd9e08
Parents: ae248af
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Jul 23 18:07:32 2013 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Jul 23 18:08:44 2013 -0700

----------------------------------------------------------------------
 patches/systemvm/debian/config/root/edithosts.sh | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3af96338/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 9d01b9a..491186f 100755
--- a/patches/systemvm/debian/config/root/edithosts.sh
+++ b/patches/systemvm/debian/config/root/edithosts.sh
@@ -96,11 +96,9 @@ wait_for_dnsmasq () {
   return 1
 }
 
-if [ $ipv4 ]
+if [ $ipv6 ]
 then
-    ip=$ipv4
-else
-    ip=$ipv6
+    no_dhcp_release=1
 fi
 
 if [ $no_dhcp_release -eq 0 ]


Mime
View raw message