Files
Olares/cli/pkg/windows/templates/wslconfig.go

15 lines
211 B
Go

package templates
import (
"text/template"
"github.com/lithammer/dedent"
)
var WSLConfigValue = template.Must(template.New(".wslconfig").Parse(
dedent.Dedent(`[wsl2]
memory={{ .Memory }}GB
swap=0GB
`),
))