How to use dietpi.txt when using dietpi-installer over debian 12 image?

I purchased a VPS and have been able to install dietpi using the installer method over debian 12 minimal. How can I combine this with dietpi.txt?

My goal is I wish to configure dietpi on first boot with my SSH key and other settings so that I do not have to manually do this on multiple VPS. Second quesiton, is it possible for dietpi data partition to be btrfs so I can use btrfs-send remotely for backups?

After the dietpi-installer has run it ends in the shell.
Before booting the system you can edit dietpi.txt (nano /boot/dietpi.txt) to set up the automated boot options.

Maybe our blog post can give some more impressions: Install a DietPi desktop system in a few steps – DietPi Blog.
What we e.g. actually do not have described of dietpi.txt is the handling of the SSH pubkey. See also Add docs about pre-configuring SSH with pubkey via dietpi.txt · Issue #734 · MichaIng/DietPi-Docs · GitHub

2 Likes

yes correct, you can’t use dietpi.txt for the installer. It just become available after installer finished und can be used on first DietPi boot.

This is how I have my system set up, I have currently a separate ssd with btrfs for the data partition but I think at one point I had formated a partition on the eMMC.

It could be done via the dietpi-drive_manager.
See there: System Configuration - DietPi.com Docs

1 Like