2024-05-17 21:46:41 -07:00
|
|
|
{{- if (stat "/proc/sys/fs/binfmt_misc/WSLInterop") -}}
|
2024-01-05 20:28:02 -08:00
|
|
|
[wsl2]
|
|
|
|
nestedVirtualization=true
|
|
|
|
|
|
|
|
[boot]
|
2024-05-17 21:46:41 -07:00
|
|
|
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
|
|
|
|
{{- end -}}
|