Automation, Orchestration, and Scripting

An administrator launches a cloud instance and supplies a user-data file whose first line is #cloud-config. The YAML creates a user, installs a package and sets the timezone during first boot. Which tool processes this file?

Show the answer

Correct answerC. cloud-init

The #cloud-config header identifies a cloud-init configuration, which cloud-init processes at first boot to create users, install packages and set the timezone. Kickstart uses a different syntax and is read by the installer, not by a booted instance.