Switch to using checkboxes for WSL version, and add section for kernel version (#6811)

* Convert WSL Version section to use checkboxes * Removing validations: section * Quotes * Fixing name * Adding section for kernel version

adrastogi committed Apr 16, 2021 at 10:01 UTC c21e5210328e08c65091c7b3e8f6114bd03bdd2a
1 file changed +14 -4
.github/ISSUE_TEMPLATE/Bug_Report.yaml
+14 -4
@@ -1,5 +1,5 @@
1 ---
2 -name: "Bug Report"
2 +name: "WSL Bug Report"
3 description: Report a bug on Windows Subsystem for Linux
4 title: ''
5 labels: ''
@@ -21,14 +21,24 @@ body:
21 validations:
22 required: true
23
24 -- type: input
24 +- type: checkboxes
25 attributes:
26 label: WSL Version
27 description: |
28 Tell us whether the issue is on WSL 2 and/or WSL 1. You can tell your WSL version by running `wsl -l -v`.
29 - placeholder: "WSL 2"
29 + options:
30 + - label: "WSL 2"
31 + - label: "WSL 1"
32 +
33 +- type: input
34 + attributes:
35 + label: Kernel Version
36 + description: |
37 + Please tell us what version of the Linux kernel you are using, or if you are using a custom kernel.
38 + You can run `wsl.exe --status` if that command is available to you, or by running `cat /proc/version` in your distro.
39 + placeholder: "5.4.72"
40 validations:
31 - required: true
41 + required: false
42
43 - type: input
44 attributes: