On Mon, May 11, 2020 at 03:02:06PM -0700, ryantate via qubes-users wrote:
> 
> 
> On Monday, May 11, 2020 at 11:11:45 AM UTC-4, unman wrote:
> 
> > If you want to install a package, don't open the template and install it 
> > there, edit the install.sls file to include the package, and run 
> > `qubesctl --skip-dom0 --targets=<template>  state.apply install` 
> >
> 
> 
> Dumb question, where is install.sls (or where should I create it)? I poked 
> around in /srv in dom0 but still not sure
>  

You create it - you can bundle relevant files under subdirectory in
/srv/salt and then refer to them like this:
state.apply <subdirectory>.state

> 
> >
> > I have full systems set up in salt to customise a new install as I want, 
> > with new templates and different setups. Sometimes it can be a bit 
> > shaky, and you *have* to check the logs, but it's great to run the full 
> > state, have a coffee, and come back to a fully configured system. 
> > For travel, I have a minimum state I can download and apply, to get a 
> > workable system with gpg, vpn, ssh set up out of the box. So cool. 
> >
> >
> Very intriguing. I am looking at
> 
> https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pkg.html
> 
> https://www.qubes-os.org/doc/salt/
> 
> ....lmk if there is anything else I should read!
> 

>From another post:
I ran some training a few years back, and the notes are here:
https://github.com/unman/notes/tree/master/salt

They start with the simplest use of `qubesctl`, and work up to quite
complex configurations, but should be easy to understand.
There are examples in (naturally) "examples".

For some real world cases look in notes/config.

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200512152107.GC4368%40thirdeyesecurity.org.

Reply via email to