You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2013/07/16 03:01:40 UTC

git commit: updated refs/heads/4.2 to 54e9fe4

Updated Branches:
  refs/heads/4.2 dabedd084 -> 54e9fe448


CLOUDSTACK-3540: Fix edithosts.sh to prevent removing active dhcp entries

IP match must terminated by comma.


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

Branch: refs/heads/4.2
Commit: 54e9fe44852adc93f0bf591dc7320457be7e6d38
Parents: dabedd0
Author: Sheng Yang <sh...@citrix.com>
Authored: Mon Jul 15 18:00:11 2013 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Mon Jul 15 18:01:31 2013 -0700

----------------------------------------------------------------------
 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/54e9fe44/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 817d726..9d01b9a 100755
--- a/patches/systemvm/debian/config/root/edithosts.sh
+++ b/patches/systemvm/debian/config/root/edithosts.sh
@@ -207,7 +207,7 @@ then
   fi
   [ "$routes" != "" ] && echo "$tag,121,$routes" >> $DHCP_OPTS
   #delete entry we just put in because we need a tag
-  sed -i  /$ipv4/d $DHCP_HOSTS 
+  sed -i  /$ipv4,/d $DHCP_HOSTS
   #put it back with a tag
   echo "$mac,set:$tag,$ipv4,$host,infinite" >>$DHCP_HOSTS
 fi