Difference between revisions of "Cloud-init"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
== Logs == | == Logs == | ||
* <code>[[/var/log/cloud-init.log]]</code> | * <code>[[/var/log/cloud-init.log]]</code> | ||
+ | * <code>[[/var/log/cloud-init-output.log]]</code> | ||
* <code>[[/var/lib/cloud/instance/]]</code> | * <code>[[/var/lib/cloud/instance/]]</code> | ||
* <code>[[/var/lib/cloud/instance/user-data.txt]]</code> | * <code>[[/var/lib/cloud/instance/user-data.txt]]</code> | ||
Line 26: | Line 27: | ||
* <code>[[--cloud-init]]</code> [[multipass]] | * <code>[[--cloud-init]]</code> [[multipass]] | ||
* <code>[[--cloud-init]]</code> [[virt-install]] | * <code>[[--cloud-init]]</code> [[virt-install]] | ||
− | * [[Terraform provider: cloud-init]] | + | * [[Terraform provider]]: <code>[[Terraform provider: cloud-init|cloud-init]]</code> |
* <code>[[final_message]]</code> | * <code>[[final_message]]</code> | ||
* <code>[[systemctl status cloud-init]]</code> | * <code>[[systemctl status cloud-init]]</code> | ||
Line 32: | Line 33: | ||
* <code>[[bootcmd:]]</code> | * <code>[[bootcmd:]]</code> | ||
* <code>[[runcmd:]]</code> | * <code>[[runcmd:]]</code> | ||
+ | * <code>[[hashicorp/cloudinit]]</code> | ||
== See also == | == See also == |
Latest 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[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]
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[edit]
Advertising: