From 563934c98921875628064140b150b4cbfd706cf6 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Fri, 27 Jun 2014 17:16:56 -0700 Subject: [PATCH] CLOUDSTACK-3540: Fix edithosts.sh on matching tag --- systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh b/systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh index a07f40d1fd0..4912bcecc78 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"