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 2014/06/28 02:19:47 UTC

git commit: updated refs/heads/master to 563934c

Repository: cloudstack
Updated Branches:
  refs/heads/master d5fea1022 -> 563934c98


CLOUDSTACK-3540: Fix edithosts.sh on matching tag


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

Branch: refs/heads/master
Commit: 563934c98921875628064140b150b4cbfd706cf6
Parents: d5fea10
Author: Sheng Yang <sh...@citrix.com>
Authored: Fri Jun 27 17:16:56 2014 -0700
Committer: Sheng Yang <sh...@citrix.com>
Committed: Fri Jun 27 17:18:38 2014 -0700

----------------------------------------------------------------------
 systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/563934c9/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh b/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh
index a07f40d..4912bce 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh
+++ b/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh
@@ -191,7 +191,7 @@ then
   echo "dhcp-optsfile=$DHCP_OPTS" >> /etc/dnsmasq.conf
 
   tag=$(echo $ipv4 | tr '.' '_')
-  sed -i /$tag/d $DHCP_OPTS
+  sed -i /$tag,/d $DHCP_OPTS
   if [ "$dflt" == "0.0.0.0" ]
   then
     logger -t cloud "$0: unset default router for $ipv4"