Difference between revisions of "Cloud-init"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(30 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
<code>cloud-init</code> 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. | <code>cloud-init</code> 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: <code>[[/etc/cloud/cloud.cfg]]</code> | * Configuration file: <code>[[/etc/cloud/cloud.cfg]]</code> | ||
− | * | + | == Binaries == |
+ | * <code>[[/usr/bin/cloud-id]]</code> | ||
+ | * <code>[[/usr/bin/cloud-init]]</code> | ||
+ | * <code>/usr/bin/cloud-init-per</code> | ||
+ | == Logs == | ||
+ | * <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/user-data.txt]]</code> | ||
− | *<code> [[multipass launch]] --name ubuntu-lts-custom --cloud-init [[cloud-config.yaml]]</code> | + | Examples: |
+ | * <code> [[multipass launch]] --name ubuntu-lts-custom [[--cloud-init]] [[cloud-config.yaml]]</code> | ||
==Activities == | ==Activities == | ||
Line 14: | Line 25: | ||
* <code>[[growpart]]</code> | * <code>[[growpart]]</code> | ||
* <code>[[cloud-image-utils]]</code> | * <code>[[cloud-image-utils]]</code> | ||
+ | * <code>[[--cloud-init]]</code> [[multipass]] | ||
+ | * <code>[[--cloud-init]]</code> [[virt-install]] | ||
+ | * [[Terraform provider]]: <code>[[Terraform provider: cloud-init|cloud-init]]</code> | ||
+ | * <code>[[final_message]]</code> | ||
+ | * <code>[[systemctl status cloud-init]]</code> | ||
+ | * <code>[[/etc/init.d/cloud-init-user-scripts]]</code> | ||
+ | * <code>[[bootcmd:]]</code> | ||
+ | * <code>[[runcmd:]]</code> | ||
+ | * <code>[[hashicorp/cloudinit]]</code> | ||
== See also == | == See also == | ||
* {{cloud-init}} | * {{cloud-init}} | ||
* {{Ubuntu}} | * {{Ubuntu}} | ||
− | |||
[[Category:Ubuntu]] | [[Category:Ubuntu]] |
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: