The user-data scripts are broken in the AWS AMI for CentOS Linux 7 x86_64 HVM EBS ENA 1804_2 (ami-5490ed2c).
The user_data script doesn't run, and the /var/log/cloud-init.log contains a bunch of debug messages.
It looks like it gets the script from the instance metadata, and writes it to the cloud-init directory...
[DEBUG]: Read from http://169.254.169.254/2009-04-04/user-data (200, 117b) after 1 attempts
[DEBUG]: Writing to /var/lib/cloud/instances/i-############/user-data.txt - wb: [384] 117 bytes
But the user-data script never runs.
Cloud Init Broken in AWS AMI 1804_2
Re: Cloud Init Broken in AWS AMI 1804_2
I'd suggest using http://bugs.centos.org for this.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke