esac
fi
- # Enable the serial console on all systems on Azure and Google Compute Platform
- if running_on_azure || running_on_gcp; then
+ # Enable the serial console on all systems on AWS EC2, Azure
+ # and Google Compute Platform
+ if running_on_ec2 || running_on_azure || running_on_gcp; then
scon="on"
fi