Skip to content

Commit

Permalink
fix: shareip error
Browse files Browse the repository at this point in the history
  • Loading branch information
Addon Factory template committed Apr 28, 2021
1 parent da85893 commit f786a3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@ do
read -p 'SHAREDIP for HA installations this is in addition to the member addresses for single instance this is the host ip: ' SHAREDIP

done
svcip=$(echo $SHAREDIP | cut -d '/' -f 1)
cat deploy/sc4snmp/external/traps-service.yaml \
| sed "s/##SHAREDIP##/${SHAREDIP}/g" \
| sed "s/##SHAREDIP##/${svcip}/g" \
| $KCMD -n sc4snmp apply -f -

$KCMD -n sc4snmp apply -f deploy/sc4snmp/internal
Expand Down

0 comments on commit f786a3a

Please sign in to comment.