WSL --autoinstall ignores most of autoinstall options

Bug #2012192 reported by Ondrej Balaz
6
This bug affects 1 person
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-FILE-PATH>
> 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).

Revision history for this message
Olivier Gayot (ogayot) wrote :

Adding Ubuntu WSL

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.