You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which suggests we simply need to add #!/bin/sh to the top of our additional_userdata.sh script in order for cloud-init to execute it. This wasn’t necessary on AL2 images, but apparently is needed for AL2023.
Additional Context
No response
References
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Terraform Version Details
No response
Terraform Variable File Details
No response
Steps to Reproduce
update to an AMI using AL2023 for the compute node pool
include "custom_data" = "files/custom-data/additional_userdata.sh" in compute node pool definition within terraform.tfvars
Expected Behavior
NVME drives should mount and be available at the /nvme/disk symlink.
Actual Behavior
cloud-init won't run the scripts-user module during config, it fails with this error
Exec format error. Missing #! in script
Googling a bit I came across this post,
which suggests we simply need to add #!/bin/sh to the top of our additional_userdata.sh script in order for cloud-init to execute it. This wasn’t necessary on AL2 images, but apparently is needed for AL2023.
Additional Context
No response
References
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: