shaker/multimedia/create.sls
unman 17b5b7d677
Multimedia - update to 4.1.
Debian-11-minimal based.
Make media auto open files in Multimedia disposable.
2022-05-16 14:10:09 +00:00

72 lines
1.3 KiB
Plaintext

include:
- multimedia.clone
qvm-present-id:
qvm.present:
- name: multimedia-dvm
- template: template-multimedia
- label: purple
qvm-prefs-id:
qvm.prefs:
- name: multimedia-dvm
- netvm: none
- memory: 300
- maxmem: 800
- vcpus: 2
- template_for_dispvms: True
- include_in_backups: false
qvm-features-id:
qvm.features:
- name: multimedia-dvm
- disable:
- service.cups
- service.cups-browsed
- service.tinyproxy
multimedia:
qvm.present:
- name: multimedia
- template: multimedia-dvm
- class: DispVM
- netvm: none
- label: purple
multimedia-prefs:
qvm.prefs:
- name: multimedia
- autostart: false
- include_in_backups: false
- netvm: none
multimedia-features:
qvm.features:
- name: multimedia
- appemenus-dispvm: True
- disable:
- service.cups
media-present-id:
qvm.present:
- name: media
- template: debian-11
- label: purple
media-prefs:
qvm.prefs:
- name: media
- autostart: false
- include_in_backups: true
- netvm: none
'qvm-volume extend media:private 40G' :
cmd.run
update_policy_file:
file.prepend:
- name: /etc/qubes/policy.d/30-user.policy
- text: qubes.OpenInVM * media @dispvm allow target=multimedia