Skip to content

Commit 1424be3

Browse files
authored
Correct the value type for swapFile
1 parent c7f32f9 commit 1424be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WSL/wsl-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ These settings affect the VM that powers any WSL 2 distribution.
345345
| localhostForwarding | boolean | `true` | Boolean specifying if ports bound to wildcard or localhost in the WSL 2 VM should be connectable from the host via localhost:port. |
346346
| kernelCommandLine | string | Blank | Additional kernel command line arguments. |
347347
| swap | size | 25% of memory size on Windows rounded up to the nearest GB | How much swap space to add to the WSL 2 VM, 0 for no swap file. |
348-
| swapFile | size | %USERPROFILE%\AppData\Local\Temp\swap.vhdx | An absolute Windows path to the swap virtual hard disk. |
348+
| swapFile | string | %USERPROFILE%\AppData\Local\Temp\swap.vhdx | An absolute Windows path to the swap virtual hard disk. |
349349

350350
Entries with the `path` value must be Windows paths with escaped backslashes, e.g: `C:\\Temp\\myCustomKernel`
351351

0 commit comments

Comments
 (0)