You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/06/29 11:15:11 UTC

git commit: updated refs/heads/4.4 to 8db1b21

Repository: cloudstack
Updated Branches:
  refs/heads/4.4 80f269444 -> 8db1b21cc


CLOUDSTACK-3540: Fix edithosts.sh on matching tag

(cherry picked from commit 46f2b61374c2012bca251c1de58fb1250e50b755)


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

Branch: refs/heads/4.4
Commit: 8db1b21cc81de636716360fa779e39a972407b6e
Parents: 80f2694
Author: Sheng Yang <sh...@citrix.com>
Authored: Fri Jun 27 17:16:56 2014 -0700
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sun Jun 29 11:15:04 2014 +0200

----------------------------------------------------------------------
 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/8db1b21c/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"