The goal of this guide is to create a folder that automatically copies files from dom0 to VMs. Why? So when you install a new template VM, you don’t have to copy your Bash aliases, etc, across to it. That will all be handled automatically.
I just finished creating this, so there may be bugs. This guide is abbreviated and intended for tech-savvy users for now, but I will be available to answer any questions and will expand on it based on people’s feedback.
- set up user salt
a. I recommend simply:mkdir -p ~/.config/srv/salt sudo ln -s /home/user/.config/srv/salt /srv/user_salt
- Download copy-to-pcre.sls and copy-to-pcre.top
sudo qubesctl top.enable copy-to-pcre
- In your
user_salt
directory, make a directorycopy-to/pcre/^fedora-41-xfce$
(or whatever VM you want to copy files to) - Move the files you want to copy there
e.g. if you wantmyscript.sh
in/usr/local/bin/
on the VM, put it incopy-to/pcre/^fedora-41-xfce$/usr/local/bin/
For more documentation, see here:
Please let me know if you run into any issues!