Add config.yaml modification

This commit is contained in:
Paul Paukstelis
2019-09-16 21:26:26 -04:00
parent 1c55d72c93
commit 0129cdd174

View File

@@ -114,8 +114,7 @@ then
cp -rp $BFOLD $OCTOCONFIG/.$INSTANCE
#Do config.yaml modifications here if needed..
#sed -i "/s/PORT/$INSTANCE/" .$INSTANCE/config.yaml
#TODO - Just add an entry after additionalPorts?
#cat $BFOLD/config.yaml | sed -e "s/INSTANCE/$INSTANCE/" > .$INSTANCE/config.yaml
cat $BFOLD/config.yaml | sed -e "s/INSTANCE/$INSTANCE/" > $OCTOCONFIG/.$INSTANCE/config.yaml
udevadm control --reload-rules
udevadm trigger
systemctl daemon-reload