mirror of
https://github.com/unman/shaker.git
synced 2025-01-13 08:19:32 -05:00
122 lines
2.3 KiB
Plaintext
122 lines
2.3 KiB
Plaintext
include:
|
|
- sys-usb.clone
|
|
|
|
remove:
|
|
qvm.absent:
|
|
- name: sys-usb
|
|
|
|
remove2:
|
|
qvm.absent:
|
|
- name: sys-usb-dock
|
|
|
|
remove3:
|
|
qvm.absent:
|
|
- name: sys-usb-left
|
|
|
|
remove4:
|
|
qvm.absent:
|
|
- name: sys-usb-dvm
|
|
|
|
qvm-present-id:
|
|
qvm.present:
|
|
- name: sys-usb-dvm
|
|
- template: template-sys-usb
|
|
- label: red
|
|
|
|
qvm-prefs-id:
|
|
qvm.prefs:
|
|
- name: sys-usb-dvm
|
|
- netvm: none
|
|
- memory: 300
|
|
- vcpus: 2
|
|
- virt_mode: hvm
|
|
- autostart: False
|
|
- template_for_dispvms: True
|
|
- include_in_backups: false
|
|
|
|
sys-usb:
|
|
qvm.present:
|
|
- name: sys-usb
|
|
- template: sys-usb-dvm
|
|
- class: DispVM
|
|
- label: red
|
|
|
|
sys-usb-prefs:
|
|
qvm.prefs:
|
|
- name: sys-usb
|
|
- autostart: false
|
|
- include_in_backups: false
|
|
- pcidevs: [ '00:1a.0' ]
|
|
- pci_strictreset: False
|
|
|
|
qvm-features-id:
|
|
qvm.features:
|
|
- name: sys-usb
|
|
- disable:
|
|
- service.cups
|
|
- service.cups-browsed
|
|
- service.meminfo-writer
|
|
- service.cups-browsed
|
|
- service.qubes-updates-proxy
|
|
|
|
sys-usb-dock:
|
|
qvm.present:
|
|
- name: sys-usb-dock
|
|
- template: sys-usb-dvm
|
|
- class: DispVM
|
|
- label: red
|
|
|
|
sys-usb-dock-prefs:
|
|
qvm.prefs:
|
|
- name: sys-usb-dock
|
|
- autostart: false
|
|
- include_in_backups: false
|
|
- pcidevs: [ '00:1d.0' ]
|
|
- pci_strictreset: False
|
|
|
|
sys-usb-dock-features:
|
|
qvm.features:
|
|
- name: sys-usb-dock
|
|
- disable:
|
|
- service.cups
|
|
- service.cups-browsed
|
|
- service.meminfo-writer
|
|
- service.qubes-updates-proxy
|
|
|
|
sys-usb-left:
|
|
qvm.present:
|
|
- name: sys-usb-left
|
|
- template: sys-usb-dvm
|
|
- class: DispVM
|
|
- label: red
|
|
|
|
sys-usb-left-prefs:
|
|
qvm.prefs:
|
|
- name: sys-usb-left
|
|
- autostart: false
|
|
- include_in_backups: false
|
|
- pcidevs: [ '00:14.0' ]
|
|
- pci_strictreset: False
|
|
|
|
sys-usb-left-features:
|
|
qvm.features:
|
|
- name: sys-usb-left
|
|
- disable:
|
|
- service.cups
|
|
- service.cups-browsed
|
|
- service.meminfo-writer
|
|
- service.cups-browsed
|
|
- service.qubes-updates-proxy
|
|
|
|
update_file:
|
|
file.prepend:
|
|
- name: /etc/qubes-rpc/policy/qubes.InputMouse
|
|
- text: sys-usb dom0 allow,user=root
|
|
- text: sys-usb-dock dom0 allow,user=root
|
|
|
|
update_file_keyboard:
|
|
file.prepend:
|
|
- name: /etc/qubes-rpc/policy/qubes.InputKeyboard
|
|
- text: sys-usb dom0 allow,user=root
|
|
- text: sys-usb-dock dom0 allow,user=root
|