Difference between revisions of "Cloud-init"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
* <code>[[bootcmd:]]</code> | * <code>[[bootcmd:]]</code> | ||
* <code>[[runcmd:]]</code> | * <code>[[runcmd:]]</code> | ||
+ | * [[hashicorp/cloudinit]] | ||
== See also == | == See also == |
Revision as of 16:27, 3 January 2024
cloud-init
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
Binaries
/usr/bin/cloud-id
/usr/bin/cloud-init
/usr/bin/cloud-init-per
Logs
/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
Related terms
growpart
cloud-image-utils
--cloud-init
multipass--cloud-init
virt-install- Terraform provider:
cloud-init
final_message
systemctl status cloud-init
/etc/init.d/cloud-init-user-scripts
bootcmd:
runcmd:
- hashicorp/cloudinit
See also
Advertising: