cloud-init/doc/rtd/topics/examples.rst
2013-01-28 10:28:09 -08:00

3.0 KiB

Cloud config examples

Including users and groups

../../examples/cloud-config-user-groups.txt

Writing out arbitrary files

../../examples/cloud-config-write-files.txt

Adding a yum repository

../../examples/cloud-config-yum-repo.txt

Configure an instances trusted CA certificates

../../examples/cloud-config-ca-certs.txt

Configure an instances resolv.conf

Note: when using a config drive and a RHEL like system resolv.conf will also be managed 'automatically' due to the available information provided for dns servers in the config drive network format. For those that wish to have different settings use this module.

../../examples/cloud-config-resolv-conf.txt

Install and run chef recipes

../../examples/cloud-config-chef.txt

Setup and run puppet

../../examples/cloud-config-puppet.txt

Add apt repositories

../../examples/cloud-config-add-apt-repos.txt

Run commands on first boot

../../examples/cloud-config-boot-cmds.txt

../../examples/cloud-config-run-cmds.txt

Alter the completion message ---------------------------

../../examples/cloud-config-final-message.txt

Install arbitrary packages

../../examples/cloud-config-install-packages.txt

Run apt or yum upgrade

../../examples/cloud-config-update-packages.txt

Adjust mount points mounted

../../examples/cloud-config-mount-points.txt

Call a url when finished

../../examples/cloud-config-phone-home.txt

Reboot/poweroff when finished ---------------------------

../../examples/cloud-config-power-state.txt

Configure instances ssh-keys ---------------------------

../../examples/cloud-config-ssh-keys.txt