Salt - sys-usb - install qubes packages

This commit is contained in:
unman 2019-08-14 16:08:26 +00:00
parent c52ac7bbcf
commit 3bded608f3
4 changed files with 43 additions and 0 deletions

9
clone.sls Normal file
View File

@ -0,0 +1,9 @@
include:
- template-debian-10-minimal
qvm-clone-id:
qvm.clone:
- require:
- sls: template-debian-10-minimal
- name: template-sys-usb
- source: debian-10-minimal

4
clone.top Normal file
View File

@ -0,0 +1,4 @@
base:
dom0:
- match: nodegroup
- sys-usb.clone

25
install.sls Normal file
View File

@ -0,0 +1,25 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
/etc/apt/sources.list:
file.replace:
- pattern: 'https:'
- repl: 'http://HTTPS/'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
/etc/apt/sources.list.d/qubes-r4.list:
file.replace:
- pattern: 'https:'
- repl: 'http://HTTPS/'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
allow-testing:
file.uncomment:
- name: /etc/apt/sources.list.d/qubes-r4.list
- regex: ^deb\s.*qubes-os.org.*-testing
- backup: false
installed:
pkg.installed:
- pkgs:
- qubes-input-proxy-sender
- qubes-usb-proxy

5
install.top Normal file
View File

@ -0,0 +1,5 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
base:
template-sys-usb:
- sys-usb.install