Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
cloud-init 25.1.2 documentation
Light Logo Dark Logo
cloud-init 25.1.2 documentation
  • Tutorials
    • New user tutorial with QEMU
      • QEMU tutorial debugging
    • Quick-start tutorial with LXD
  • How-to guides
    • Launch cloud-init with...
      • QEMU
      • LXD
      • Multipass
      • Libvirt
      • WSL
    • Re-run cloud-init
    • Change how often a module runs
    • Validate my user-data
    • Debug cloud-init
    • Check the status of cloud-init
    • Report a bug
    • Identify my datasource
    • Disable cloud-init
    • Test pre-release cloud-init on Ubuntu
  • Reference
    • Module reference
    • All cloud config examples
    • Cloud config examples library
      • System initialization and boot
        • Run commands during boot
        • Control vendor-data use
        • Provide random seed data
        • Writing out arbitrary files
        • Set keyboard layout
        • Set system locale and timezone
      • SSH and security
        • Configure SSH and SSH keys
        • Add and configure trusted CA certificates
        • Disable AWS EC2 IMDS
      • Disk and file system setup
        • Configure partitions and filesystems
        • Configure mount points and swap files
        • Gluster
      • Manage users
        • Configure users and groups
        • User passwords
      • Hostname
        • Set hostname and FQDN
        • Update hostname and FQDN
      • Networking
        • Network Time Protocol (NTP)
        • Configure resolv.conf
        • Configure Wireguard tunnel
        • Update the hosts file
      • Package management
        • Update, upgrade and install packages
        • Configure APT
        • APT pipelining
        • Configure APK repositories
        • Manage snaps
        • Yum repositories
        • Configure Zypper repositories
      • System monitoring and logging
        • Reporting
        • Output message when cloud-init finishes
        • Configure system logging via rsyslog
      • Configuration managers
        • Install Ansible
        • Configure instance to be managed by Ansible
        • Configure instance to be an Ansible controller
        • Install and run Chef recipes
        • Puppet
        • Salt Minion
      • Distribution-specific setup
        • Register a Red Hat system
        • Configure Ubuntu Pro services
        • Third party drivers in Ubuntu
        • Install Landscape client
        • Configure Ubuntu fan networking
        • Configure target for GRUB installation
      • Miscellaneous
        • LXD
        • Enable/disable Byobu
        • Install hotplug udev rules
        • Install and configure MCollective
        • Phone home: post data to remote host
        • Change power state
        • Install and configure Spacewalk
        • Configure datasources
        • Amazon EC2 launch index
    • CLI commands
    • Availability
    • FAQ
    • Merging user-data sections
    • Datasources
      • Akamai
      • Alibaba Cloud (AliYun)
      • AltCloud
      • Amazon EC2
      • Azure
      • CloudCIX
      • CloudSigma
      • CloudStack
      • Config drive
      • DigitalOcean
      • E24Cloud
      • Exoscale
      • Fallback/no datasource
      • Google Compute Engine
      • LXD
      • MAAS
      • NoCloud
      • None
      • NWCS
      • OpenNebula
      • OpenStack
      • Oracle
      • OVF
      • Rbx Cloud
      • Scaleway
      • SmartOS Datasource
      • UpCloud
      • VMware
      • Vultr
      • WSL
      • ZStack
    • Network configuration
      • Networking config Version 1
      • Networking config Version 2
    • Base configuration
    • Datasource dsname
    • Performance analysis
    • Stable Release Updates (SRU)
    • Breaking changes
    • Log and configuration files
    • Custom Modules
      • Custom Clean Scripts
      • Custom Configuration Module
      • Custom DataSource
      • Custom Mergers
      • Custom Part Handler
  • Explanation
    • Introduction to cloud-init
    • User-data formats
    • About the cloud-config file
    • Configuration sources
    • Boot stages
    • First boot determination
    • Manual cache cleaning
    • Events and updates
    • Instance-data
      • Kernel command line
    • Vendor-data
    • Security
    • Performance
    • Kernel command line
    • Failure states
    • Exported errors
    • Why did cloud-init status start returning exit code 2?

Development

  • Contributing overview
    • Find issues to work on
    • Submit your first pull request
    • Code review process
    • Reporting bugs
    • Logging
    • Internal Files: data
    • How to debug cloud-init
  • Contribute to code
    • Testing
    • Integration testing
    • Module creation
    • Supporting your cloud or platform
    • Directory layout
    • Feature flags
  • Contribute to docs
    • Style guide
    • Directory layout
  • Community
    • cloud-init: Summit 2017
    • cloud-init: Summit 2018
    • cloud-init: Summit 2019
    • cloud-init: Summit 2023
Back to top
View this page

ReferenceΒΆ

Our reference section contains support information for cloud-init. This includes details on the network requirements, API definitions, support matrices and so on.


  • Module reference
  • All cloud config examples
  • Cloud config examples library
  • CLI commands
  • Availability
  • FAQ
  • Merging user-data sections
  • Datasources
  • Network configuration
  • Base configuration
  • Datasource dsname
  • Performance analysis
  • Stable Release Updates (SRU)
  • Breaking changes
  • Log and configuration files
  • Custom Modules
Next
Module reference
Previous
Test pre-release cloud-init
Copyright © Canonical Group Ltd, 2025
Made with Sphinx and @pradyunsg's Furo