diff --git a/live-build/ubuntu-wsl/hooks/01-distribution-conf.chroot b/live-build/ubuntu-wsl/hooks/01-distribution-conf.chroot new file mode 100755 index 00000000..f470e51e --- /dev/null +++ b/live-build/ubuntu-wsl/hooks/01-distribution-conf.chroot @@ -0,0 +1,20 @@ +#!/bin/bash -eu +# vi: ts=4 expandtab +# +# Create wsl-distribution.conf for WSL setup +# + +source /etc/os-release + +cat </etc/wsl-distribution.conf +[oobe] +command = /usr/libexec/wsl-setup +defaultUid = 1000 +defaultName = ${NAME}-${VERSION_ID} + +[shortcut] +icon = /usr/share/wsl/ubuntu.ico + +[windowsterminal] +ProfileTemplate = /usr/share/wsl/terminal-profile.json +EOF