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/master to 563934c
Date Sat, 28 Jun 2014 00:19:47 GMT
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 <sheng.yang@citrix.com>
Authored: Fri Jun 27 17:16:56 2014 -0700
Committer: Sheng Yang <sheng.yang@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"


Mime
View raw message