shaker/mirage/install.sls

51 lines
1014 B
Plaintext
Raw Normal View History

2023-04-20 09:25:52 -04:00
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
#
#
{% if grains['nodename'] == 'dom0' %}
/var/lib/qubes/vm-kernels/mirage-firewall:
file.directory:
- mode: 755
- makedirs: True
mirage_extracted:
archive.extracted:
- name: /var/lib/qubes/vm-kernels/
- source: salt://mirage/mirage-firewall.tar.bz2
2024-02-03 13:20:20 -05:00
- source_hash: b2a568dde165384cf041c577ffbfc4522a02115d95cc0830bff125ef1781a10c
2023-04-20 09:25:52 -04:00
- archive_format: tar
- options: -j
mirage-firewall:
qvm.present:
- name: mirage-firewall
- class: StandaloneVM
- label: green
- virt_mode: pvh
- kernel: mirage-firewall
- kernelopts: ''
- mem: 32
- vcpus: 1
mirage-firewall-prefs:
qvm.prefs:
- name: mirage-firewall
- kernel: mirage-firewall
- maxmem: 32
- provides-network: True
- netvm: sys-net
- default_dispvm: ''
2024-02-03 13:20:20 -05:00
- kernelopts: ''
2023-04-20 09:25:52 -04:00
mirage-firewall-features:
qvm.features:
- name: mirage-firewall
- enable:
- qubes-firewall
- no-default-kernelopts
{% endif %}