fix: sys-usb hide-usb-from-dom0 in keyboard state

This commit is contained in:
Ben Grande 2024-01-12 19:08:56 +01:00
parent 8d7c0a2d0b
commit ac25ef6b87
2 changed files with 13 additions and 13 deletions

View File

@ -9,6 +9,19 @@ SPDX-License-Identifier: AGPL-3.0-or-later
include: include:
- .clone - .clone
- qvm.hide-usb-from-dom0
"{{ slsdotpath }}-updated-dom0":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-installed-dom0":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- qubes-input-proxy
{% load_yaml as defaults -%} {% load_yaml as defaults -%}
name: dvm-{{ slsdotpath }} name: dvm-{{ slsdotpath }}

View File

@ -9,19 +9,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
# 'qvm.sys-usb', which is different from the one we create at create.sls. # 'qvm.sys-usb', which is different from the one we create at create.sls.
# Last known update of 'qvm.usb-keyboard': 2023-08-31 # Last known update of 'qvm.usb-keyboard': 2023-08-31
include:
- .create
- qvm.hide-usb-from-dom0
"{{ slsdotpath }}-updated-dom0":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-installed-dom0":
pkg.installed:
- pkg:
- qubes-input-proxy
{% set uefi_xen_cfg = '/boot/efi/EFI/qubes/xen.cfg' %} {% set uefi_xen_cfg = '/boot/efi/EFI/qubes/xen.cfg' %}
{% if grains['boot_mode'] == 'efi' %} {% if grains['boot_mode'] == 'efi' %}
{% set grub_cfg = '/boot/efi/EFI/qubes/grub.cfg' %} {% set grub_cfg = '/boot/efi/EFI/qubes/grub.cfg' %}