Skip to content

[enhancement]: Allow for alternative location for wsl datasource  #6795

@Nova38

Description

@Nova38

Enhancement

Currently the wsl datasource requires the creation of a folder in the users home. This proposal would allow for the datasource to also check a folder in a the .config subfolder, if it exists, aligning it with the general best practices of the (XDG base Directory standard)[
https://wiki.archlinux.org/title/XDG_Base_Directory]. This is particularly useful on Windows as unlike on linux folders that start with a . are not auto hidden.

For example from the docs:
C:\Users\me\.cloud-init\Ubuntu-24.04.user-data
Would also check

C:\Users\me\.config\.cloud-init\Ubuntu-24.04.user-data

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions