No A record created in domain when provisioning an ec2 vm
When I provision a new vm in ec2 and I choose a domain on my Foreman server no CNAME or A record is created. I see the following output, which doesn't indicate anything is happening with DNS locally. It would be great to get a CNAME pointing at the EC2 server name. Not sure why I need (or would be able) to select a domain if it's not going to set up a record.
If this ends up not being a bug I'd like to request as a feature that a CNAME be created.
new In Progress
completed - Settings up compute instance test2.ec2.devlab.redhat.com
completed - Acquiring IP address for test2.ec2.devlab.redhat.com
completed - Querying instance details for test2.ec2.devlab.redhat.com
completed - Preparing Post installation script for test2.ec2.devlab.redhat.com
running - Waiting for test2.ec2.devlab.redhat.com to come online
pending - Enable Certificate generation for test2.ec2.devlab.redhat.com
pending - Configuring instance test2.ec2.devlab.redhat.com via SSH
#1 Updated by Jason Montleon about 6 years ago
- !domain.nil? and !domain.proxy.nil? and managed?
+ name.present? and ip.present? and !domain.nil? and !domain.proxy.nil? and managed?
Reverting that change causes DNS records to get created for ec2 hosts again.