On Thu, May 14, 2020 at 06:29:15PM +0200, onelovecisco via qubes-users wrote:
> Hello, Qubes Community!
> 
> Can you help me how to correctly use Salt in dom0 for automate tasks.
> For example, i need to clone debian-10 template and install toolchain on it.
> 
> apt install -y \
> build-essential \
> zlib1g-dev uuid-dev libdigest-sha-perl \
> libelf-dev \
> bc \
> bzip2 \
> bison \
> flex \
> git \
> gnupg \
> iasl \
> m4 \
> nasm \
> patch \
> python \
> wget \
> gnat \
> cpio \
> ccache \
> pkg-config \
> cmake \
> libusb-1.0-0-dev \
> pkg-config \
> texinfo \
> 
> Qubes Salt files stored at /srv folder as root. 
> where do i need to put my custom *.sls files?and how launch it use qubesctl 
> from dom0?
> Thanks.

You can create folder within /srv/salt and put files there - reference
them as <folder>.<file>:
qubesctl state.apply <folder>.<file>

If you prefer not to use /srv/salt  you can run:
`qubesctl state.apply qubes.user-dirs`
which will create a usable "user_" structure under /srv

-- 
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/20200515130447.GB20833%40thirdeyesecurity.org.

Reply via email to