mirror of
https://github.com/unman/shaker.git
synced 2025-01-23 13:11:03 -05:00
Split GPG - back end template and 'gpg' qube
This commit is contained in:
parent
2e9d55f877
commit
ddef63b3c6
12
gpg/clone.sls
Normal file
12
gpg/clone.sls
Normal file
@ -0,0 +1,12 @@
|
||||
include:
|
||||
- template-debian-10-minimal
|
||||
|
||||
qvm-clone-id:
|
||||
qvm.clone:
|
||||
- require:
|
||||
- sls: template-debian-10-minimal
|
||||
- name: template-gpg
|
||||
- source: debian-10-minimal
|
||||
|
||||
'sudo qubes-dom0-update qubes-gpg-split-dom0':
|
||||
cmd.run
|
4
gpg/clone.top
Normal file
4
gpg/clone.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- gpg.clone
|
32
gpg/create.sls
Normal file
32
gpg/create.sls
Normal file
@ -0,0 +1,32 @@
|
||||
include:
|
||||
- gpg.clone
|
||||
|
||||
qvm-present-id:
|
||||
qvm.present:
|
||||
- name: gpg
|
||||
- template: template-gpg
|
||||
- label: gray
|
||||
|
||||
qvm-prefs-id:
|
||||
qvm.prefs:
|
||||
- name: gpg
|
||||
- netvm: none
|
||||
- memory: 400
|
||||
- maxmem: 800
|
||||
- vcpus: 2
|
||||
|
||||
qvm-features-id:
|
||||
qvm.features:
|
||||
- name: gpg
|
||||
- disable:
|
||||
- service.cups
|
||||
- service.cups-browsed
|
||||
|
||||
'qvm-volume extend gpg:private 10G' :
|
||||
cmd.run
|
||||
|
||||
update_file:
|
||||
file.prepend:
|
||||
- name: '/etc/qubes-rpc/policy/qubes.Gpg'
|
||||
- text: '@anyvm @anyvm ask,default_target=gpg'
|
||||
|
4
gpg/create.top
Normal file
4
gpg/create.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- gpg.create
|
26
gpg/install.sls
Normal file
26
gpg/install.sls
Normal file
@ -0,0 +1,26 @@
|
||||
# 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-gpg-split
|
||||
- gnupg
|
||||
- keepassxc
|
5
gpg/install.top
Normal file
5
gpg/install.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
template-gpg:
|
||||
- gpg.install
|
Loading…
Reference in New Issue
Block a user