mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3540: Fix edithosts.sh on matching tag
This commit is contained in:
parent
d5fea10222
commit
563934c989
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue