wsl-setup/wsl-distribution.conf
Troy Dawson b781149120 Make wsl-setup a script
The script generates wsl-distribution.conf from a template.
You can pass it options for the Name as well as the
logo file.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-05-19 08:37:42 -07:00

24 lines
804 B
Plaintext

# The /etc/wsl-distribution.conf configuration file.
#
# This is not intended to be edited by users; it is how WSL discovers
# distribution defaults.
#
# Available configuration options are documented at
# https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro
[oobe]
# Command run the first time the user opens an interactive shell.
# If the command returns non-zero, it is considered unsuccessful and the
# user won't be able to open a shell.
command = /usr/libexec/wsl/oobe.sh
# Default UID for user the distribution starts with.
defaultUid = 1000
# Default name the distribution is registered under.
# This is used when the user double-clicks to install, or uses
# wsl --install --from-file ./Fedora.wsl
defaultName = DEFAULT_NAME
[shortcut]
enabled = true
icon = DEFAULT_ICON_FULL_PATH