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:02:04 UTC
git commit: updated refs/heads/master to 9fe1a2b
Updated Branches:
refs/heads/master 52434dabc -> 9fe1a2b9f
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/9fe1a2b9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9fe1a2b9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9fe1a2b9
Branch: refs/heads/master
Commit: 9fe1a2b9fabcc655ef4f2db0e384e9953fc9d691
Parents: 52434da
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:57 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/9fe1a2b9/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