Automation, Orchestration, and Scripting

A team builds one Linux image that is launched on several cloud providers. Each instance must set its own hostname, add an SSH key and run a setup script on first boot, using data supplied by the provider's metadata service. Which tool should be built into the image?

Show the answer

Correct answerC. cloud-init

cloud-init reads provider metadata and user data on first boot and applies hostname, SSH key and script settings. Kickstart only automates the installer, so it plays no part when an instance starts from an existing image.