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 20:16:13 UTC

git commit: updated refs/heads/4.1 to f950132

Updated Branches:
  refs/heads/4.1 3b5bcac81 -> f95013273


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

Branch: refs/heads/4.1
Commit: f95013273a732a95116670d61d515cfe52c195b0
Parents: 3b5bcac
Author: Sheng Yang <sh...@citrix.com>
Authored: Mon Jul 15 18:00:11 2013 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Tue Jul 16 11:09:13 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/f9501327/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 d7543a6..3a7ccd5 100755
--- a/patches/systemvm/debian/config/root/edithosts.sh
+++ b/patches/systemvm/debian/config/root/edithosts.sh
@@ -192,7 +192,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