mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
|
echo "dhcp-optsfile=$DHCP_OPTS" >> /etc/dnsmasq.conf
|
||||||
|
|
||||||
tag=$(echo $ipv4 | tr '.' '_')
|
tag=$(echo $ipv4 | tr '.' '_')
|
||||||
sed -i /$tag/d $DHCP_OPTS
|
sed -i /$tag,/d $DHCP_OPTS
|
||||||
if [ "$dflt" == "0.0.0.0" ]
|
if [ "$dflt" == "0.0.0.0" ]
|
||||||
then
|
then
|
||||||
logger -t cloud "$0: unset default router for $ipv4"
|
logger -t cloud "$0: unset default router for $ipv4"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user