Custom Salt directory

Hi there,

I’m currently trying to convert my shell script which is responsible for creating my domains and was wondering if there’s any way of using a custom directory besides /srv with Salt and qubesctl in order to move all my *.sls and *.top files to my home directory?

Can’t find anything that points in that direction from the source code I have been reading.

Thanks in advance!

The answer is either on the forum or on qubes-users.

I know as I gave it back then.

Qubes ships with the ability to use a custom user directory under /srv

  • qubes.user-dirs - look at the README in /srv/salt/qubes

If you want to use another directory, then this will be a new
environment (in Salt terms) - this is fairly standard Salt, and you will
need to set the relevant _roots in /etc/salt/minions.d/f_defaults.conf