WSL --autoinstall ignores most of autoinstall options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu WSL |
New
|
Undecided
|
Unassigned | ||
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
When `ubuntu.exe` WSL launcher is used to install Ubuntu it advertises option --autoinstall as:
> --autoinstall <AUTOINSTALL-
> Reads information from an YAML file to automatically configure the distribution
We looked into this as way to pre-configure distribution for internal use (such as install additional apt repositories, packages, create users, etc.) but most of traditional options we use in server installer seem to not work. We found that couple of wsl-related options were added to schema and identity is mandatory.
Is this intended or a bug? I believe it would be usefull to have _some_ options such as apt, packages and perhaps user-data available to do initial system config. Our usecase is that even on WSL installs we run Ansible to configure everything after install and would like to use autoinstaller as we do with bare installs to prepare system for running Ansible (which is in our case creating an additional user, adding Ansible PPA and then running ansible after install).
Adding Ubuntu WSL