In script file pixels-turbo\pixels-scaling-ec2\src\main\scripts\launch-script.sh, single quotes should be replaced with double quotes
# start trino node
# replace dummies in configurations
# ~/opt/trino-server/etc/config.properties replace coordinator-ip-dummy with the private ip of coordinator
sed -i 's/coordinator-ip-dummy/$coordinator_ip/g' /home/ubuntu/opt/trino-server/etc/config.properties
In script file
pixels-turbo\pixels-scaling-ec2\src\main\scripts\launch-script.sh
, single quotes should be replaced with double quotes