← Back to team overview

cloud-init team mailing list archive

The documentation doesn't seem to be thorough enough

 

Hi,

I've run into the following... what do you call it? piece of user data?

Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0

--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cloud-config.txt"

#cloud-config
cloud_final_modules:
- [users-groups, once]
users:
  - name: username
    ssh-authorized-keys:
    - PublicKeypair

https://aws.amazon.com/premiumsupport/knowledge-center/user-data-replace-key-pair-ec2/

What is the syntax of cloud configs? The most unclear thing is once.
Once per what? Is it documented? If I don't specify the
cloud_final_modules key, does it change anything?

Regards,
Yuri


Follow ups