Skip to content

Commit d23a5c4

Browse files
benhillisBen Hillis
andauthored
Add automount.cgroups to WSL_CONF_KEYS in validate-modern.py (#14285)
Fixes #13993 The validate-modern.py script was missing the 'automount.cgroups' setting from WSL_CONF_KEYS, causing validation errors when distributions include this setting in their /etc/wsl.conf files. Note: windowsterminal.enabled was already present in the wsl-distribution.conf validation list. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
1 parent cb35b51 commit d23a5c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

distributions/validate-modern.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040
WSL1_UNSUPPORTED_XATTRS = ['security.selinux', 'security.ima', 'security.evm']
4141

42-
WSL_CONF_KEYS = ['automount.enabled',
42+
WSL_CONF_KEYS = ['automount.cgroups',
43+
'automount.enabled',
4344
'automount.ldconfig',
4445
'automount.mountfstab',
4546
'automount.options',

0 commit comments

Comments
 (0)