Re: [qubes-users] Qubes and Salt question

2020-05-15 Thread unman
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 .:
qubesctl state.apply .

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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20200515130447.GB20833%40thirdeyesecurity.org.


[qubes-users] Qubes and Salt question

2020-05-14 Thread onelovecisco via qubes-users
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.
-- 
 Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
 https://tutanota.com

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/M7J0Asf--3-2%40tuta.io.