```
/$$$$$$ /$$ /$$ /$$ /$$
/$$__ $$ | $$ |__/ |__/ | $$
| $$ \__//$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$$$$$$ /$$ /$$$$$$
| $$$$ |____ $$ /$$__ $$|_ $$_//$$$$$$| $$| $$__ $$| $$|_ $$_/
| $$_/ /$$$$$$$| $$ \__/ | $$ |______/| $$| $$ \ $$| $$ | $$
| $$ /$$__ $$| $$ | $$ /$$ | $$| $$ | $$| $$ | $$ /$$
| $$ | $$$$$$$| $$ | $$$$/ | $$| $$ | $$| $$ | $$$$/
|__/ \_______/|__/ \___/ |__/|__/ |__/|__/ \___/
```
## What is it?
fart-init it's a little script that try to get cloud-init files (meta-data, user-data and network-data)
to configure the server with it, after that, it will clean up the server and itself. The idea is to
create a new and clean server from a template [proxmox/qemu](https://x61.sh/log/2023/05/17052023102313-qemu_proxmox_openbsd_template.html) with a
basic configuration.
## What can it do?
fart-init can do:
- set a main user and ssh-keys
- set a root password
- set the network (dhcp or static)
- install a list of packages (soon)
what it can't do:
- it won't resize or change partitions on your VM
- configure any service on base system (you should do this with something else)
what it will do by default for you:
- enable unwind(8) as resolver
- disable sndiod(8) since I asume this is a server
- clean up all packages installed
- delete all residual files in the server that are not standard
- delete the user given as main and created it again
## Setup
I based fart-init on cloud-init's files, so for it, you will need 3 files meta-data, user-data and network-data,