remove ec2-specific code but keep the comments about SPARK_PUBLIC_DNS in spark-env.sh.template