shaker/print/create.sls
2022-05-16 16:18:36 +00:00

24 lines
468 B
Plaintext

qvm-present-id:
qvm.present:
- name: sys-printer
- template: debian-11
- label: gray
qvm-prefs-id:
qvm.prefs:
- name: sys-printer
- netvm: sys-firewall
qvm-features-id:
qvm.features:
- name: sys-printer
- disable:
- service.cups-browsed
- enable:
- service.cups
update_file:
file.prepend:
- name: '/etc/qubes/policy.d/30-user.policy'
- text: 'qubes.Print * @anyvm @anyvm ask default_target=sys-printer'