VMware Cloud Community
harj123
Enthusiast
Enthusiast

Cloud-init not working on centos

Hello Guys, I am trying cloud-init on vRA8 and I am not having any luck. It works fine on ubuntu mainly because the config is straight forward but on centos8, I get the error "no authorized ssh keys fingerprints found for user cloud-user". I have followed a couple blogs and all I have done is installed cloud-init on my template and mapped the cd/dvd. when the deployment is created, I can see the cd/dvd has a iso mapped but I get that error. What am I missing? TIA

0 Kudos
1 Reply
rlabinot
Enthusiast
Enthusiast

Hello,

Can you show your cloud.cfg file ? And a sample of your blueprint ?

Did you installed the last version of cloud-init ?

Did you enabled cloud-init services ? Example : "systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service"

Did you configured your network interface in DHCP mode ?

Did you run the command "cloud-init clean" after finishing your config ?

Did you configure you CD-ROM as passtrough mode ?

I believe these questions can help you to debug.

0 Kudos