Is Running Custom Init Scripts in Dom0 a Common Practice? Any Example/Template Scripts?

So do I, and so do a number of people to perform a variety of tasks.

The following topic is specifically about how to gets those “scripts” into dom0 if you don’t write them there (I use signed RPM packages), but the thread also contains links to my own notes about the process of writing and packaging Salt formulas (that’s how Salt scripts are called).

A search on this forum for “Salt” will yield a number of topics, and @unman’s formulas are a recurring resource :slightly_smiling_face:

Note that Bash scripts are a common complement or alternative to Salt, and preferences do vary. (I personally try to use Salt as soon as I plan on reusing something I set up, and avoid standalone Bash scripts, but YMMV.)

1 Like