cloud-init
Jump to navigation
Jump to search
wikipedia:cloud-init (man) is a package included in Ubuntu and RHEL among others that contains utilities for early initialization of cloud instances. It is needed in images that are built with the intention of being launched in cloud environments like OpenStack, AWS, Azure, Google Cloud etc.
- https://cloud-init.io/
- https://help.ubuntu.com/community/CloudInit
- Configuration file:
/etc/cloud/cloud.cfg
Features[edit]
- Setting the hostname
- Setting a default locale
- Generating and setting up SSH private keys
- Setting up ephemeral mount points
Binaries[edit]
/usr/bin/cloud-id/usr/bin/cloud-init/usr/bin/cloud-init-per
Logs[edit]
/var/log/cloud-init.log/var/log/cloud-init-output.log/var/lib/cloud/instance//var/lib/cloud/instance/user-data.txt
Examples:
multipass launch --name ubuntu-lts-custom --cloud-init cloud-config.yaml
Activities[edit]
Related terms[edit]
growpartcloud-image-utils--cloud-initmultipass--cloud-initvirt-install- Terraform provider:
cloud-init final_messagesystemctl status cloud-init/etc/init.d/cloud-init-user-scriptsbootcmd:runcmd:hashicorp/cloudinit~/.ssh/authorized_keys
See also[edit]
Advertising: