Qubes User Data - utilize vm.config to execute scripts at Qube launch, even in DispVMs

Original forum link
https://forum.qubes-os.org/t/34602
Original poster
Atrate
Created at
2025-06-29 08:02:46
Posts count
4
Likes count
3
Tags
configuration, disposable-qube, dom0, version-r42

Thank you for @ddevz for the inspiration to write this tiny, general-purpose utility!

This script is a more "generic" version of what is presented in this thread: https://forum.qubes-os.org/t/customize-a-named-disposable-using-the-vm-config-feature/34207

It allows you to add any* script to any VM (including DispVMs) and have it executed at every start. The script can be plaintext or base64-encoded, like in AWS EC2 user-data.

More information here: https://github.com/Atrate/qubes-user-data

* Unsure if there's length limits, but that's quite possible.