Skip to content

Commit 02105ba

Browse files
authored
Add WindowsTerminal.enabled to the list of config keys for wsl-distribution.conf (#14021)
1 parent a5b990e commit 02105ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distributions/validate-modern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def validate_config(path: str, valid_keys: list):
427427

428428
defaultUid = None
429429
if validate_mode('/etc/wsl-distribution.conf', [oct(0o664), oct(0o644)], 0, 0, follow_symlink=True):
430-
config = validate_config('/etc/wsl-distribution.conf', ['oobe.command', 'oobe.defaultuid', 'shortcut.icon', 'shortcut.enabled', 'oobe.defaultname', 'windowsterminal.profiletemplate'])
430+
config = validate_config('/etc/wsl-distribution.conf', ['oobe.command', 'oobe.defaultuid', 'shortcut.icon', 'shortcut.enabled', 'oobe.defaultname', 'windowsterminal.profiletemplate', 'windowsterminal.enabled'])
431431

432432
if oobe_command := config.get('oobe.command', None):
433433
validate_mode(oobe_command, [oct(0o775), oct(0o755)], 0, 0)

0 commit comments

Comments
 (0)