Add config.yaml modification
This commit is contained in:
@@ -114,8 +114,7 @@ then
|
|||||||
cp -rp $BFOLD $OCTOCONFIG/.$INSTANCE
|
cp -rp $BFOLD $OCTOCONFIG/.$INSTANCE
|
||||||
#Do config.yaml modifications here if needed..
|
#Do config.yaml modifications here if needed..
|
||||||
#sed -i "/s/PORT/$INSTANCE/" .$INSTANCE/config.yaml
|
#sed -i "/s/PORT/$INSTANCE/" .$INSTANCE/config.yaml
|
||||||
#TODO - Just add an entry after additionalPorts?
|
cat $BFOLD/config.yaml | sed -e "s/INSTANCE/$INSTANCE/" > $OCTOCONFIG/.$INSTANCE/config.yaml
|
||||||
#cat $BFOLD/config.yaml | sed -e "s/INSTANCE/$INSTANCE/" > .$INSTANCE/config.yaml
|
|
||||||
udevadm control --reload-rules
|
udevadm control --reload-rules
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|||||||
Reference in New Issue
Block a user