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