switch to atlas, new keyboard
This commit is contained in:
parent
571a0d16cc
commit
08ccb78734
|
@ -28,7 +28,7 @@
|
|||
function: '0'
|
||||
usb_device_ids: []
|
||||
keyboards:
|
||||
- '/dev/input/by-path/platform-i8042-serio-0-event-kbd'
|
||||
- '/dev/input/by-id/usb-Keychron_K4_Keychron_K4-event-kbd'
|
||||
mice: []
|
||||
roles:
|
||||
- win10
|
||||
|
|
|
@ -99,10 +99,10 @@
|
|||
block: |
|
||||
cgroup_device_acl = [
|
||||
{% for item in keyboards %}
|
||||
"/dev/input/by-id/uinput-persist-keyboard{{ loop.index0 }}",
|
||||
"{{ item }}",
|
||||
{% endfor %}
|
||||
{% for item in mice %}
|
||||
"/dev/input/by-id/uinput-persist-mouse{{ loop.index0 }}",
|
||||
"{ item }}",
|
||||
{% endfor %}
|
||||
"/dev/kvm",
|
||||
"/dev/null", "/dev/full", "/dev/zero",
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"cache": "/opt/persistent-evdev/cache",
|
||||
"devices": {
|
||||
{% if keyboards or mice %}
|
||||
{% for item in keyboards %}
|
||||
"persist-keyboard{{loop.index0}}": "{{ item }}",
|
||||
"persist-keyboard{{loop.index0}}": "{{ item }}"{%if not loop.last or mice %},{% endif %}
|
||||
{% endfor %}
|
||||
{% for item in mice %}
|
||||
"persist-mouse{{loop.index0}}": "{{ item }}",
|
||||
"persist-mouse{{loop.index0}}": "{{ item }}"{%if not loop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
"dummy" : "/dev/null"
|
||||
{% endif %}
|
||||
}
|
||||
}
|
|
@ -99,7 +99,7 @@
|
|||
<memballoon model='none'/>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='raw' cache='none' io='native' discard='unmap'/>
|
||||
<source file='/data/marchambault/VirtualMachines/img/win10.img'/>
|
||||
<source file='/data/marchambault/VirtualMachines/img/atlas.img'/>
|
||||
<target dev='sda' bus='scsi' rotation_rate="1"/>
|
||||
<boot order='2'/>
|
||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
||||
|
|
Loading…
Reference in New Issue