wiki-grav/pages/02.linux/cloud-init/default.en.md

27 lines
347 B
Markdown
Raw Normal View History

2022-10-14 16:53:40 +02:00
---
title: Cloud-Init
visible: false
---
[toc]
2022-12-09 08:59:48 +01:00
2022-10-14 16:53:40 +02:00
## VM Preparation
2022-12-09 08:59:48 +01:00
The VM template needs a few cloud-init tools installed before we can use it with cloud-init configs
2022-10-14 16:53:40 +02:00
### Debian
2022-12-09 08:59:48 +01:00
[shroot]
2023-02-19 15:21:41 +01:00
```sh
apt install cloud-init cloud-initramfs-growroot
```
2022-10-14 16:53:40 +02:00
[/shroot]
2022-10-14 16:53:40 +02:00
### AlmaLinux
## Config file
2022-12-09 08:59:48 +01:00
Cloud-init has a config file in `/etc/cloud/cloud.cfg`