Dan Bungert
34d40643ad
format with black + isort
2023-07-25 15:27:42 -06:00
Carlos Nihelton
5319633d78
Makes the wsl_conf imune to None
2022-12-16 13:28:11 +00:00
Carlos Nihelton
b4734ad587
Makes the default_loader for wsl.conf testable
2022-09-15 16:24:18 -03:00
Didier Roche
09c7210406
System-Setup: fix typos
...
Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2022-03-16 12:24:46 +01:00
Didier Roche
208d8778c9
System-Setup: Clean up load data API
...
We don’t need to pass an empty dict as parameter.
Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2022-03-16 12:24:46 +01:00
Didier Roche
d17cd6fc38
System-Setup: Add systemd experimental support to WSL
...
Grow a new API for enabling/disabling systemd experimental support. We
do this by chaining a specific command= in the boot section.
We preserve the user customized command= content when systemd
experimental support is not enabled.
Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2022-03-16 12:24:18 +01:00
Didier Roche
5695da5699
system-setup: Remove ubuntu-wsl-integration from API and TUI.
...
This project is no longer supported under WSL. Remove integration in the TUI
and API for it. Adapted tests and schema.
2022-03-14 15:58:03 +01:00
Carlos Nihelton
b17c3d3db9
Cleanup complete.
...
- No user setup in wsl.conf
- Shutdown controller creates the launcher-command file
2021-12-14 12:13:00 -03:00
Patrick Wu
271b72b41a
system_setup: setup user with wsl.conf
2021-10-11 15:33:46 +08:00
Patrick Wu
07b0407815
system_setup: refactor the testing system
...
1. updating testing system with the proper autoinstall schema
2. reconf mode testing included
2021-10-08 20:49:06 +08:00
Patrick Wu
5879b41e48
system_setup: several fixes that should be merge before DEENG-82
...
1. fix a wrong type information
2. fix some configuration error when updating information
2021-10-08 16:41:28 +08:00
Patrick Wu
1c111c764c
system_setup: write files to .subiquity when dryrun
2021-10-07 16:25:07 +08:00
Patrick Wu
c934268813
system_setup: changes and fixes
...
1. rebase with main and update autoinstall-system-setup.yml
2. provide a more unified indent style
3. update get_userandgroups() to the dropped one
4. fix the problematic os action
5. simply asignments
6. assign default_loader a default value
7. provide a type-to-file dict in wsl_conf
8. provide stderr info when providing error in creating user
9. update schema and example files
2021-10-06 22:13:15 +08:00
Patrick Wu
1a7274dbba
system_setup: unify api names and simply WSLconfig class into function
2021-10-06 22:13:15 +08:00
Patrick Wu
32a62748c9
system_setup: initial redesign of generic config handler
...
Also have to change the logic for default loader
2021-10-06 22:13:15 +08:00
Patrick Wu
f31e252436
system_setup: reduce code duplication in getting default value
2021-10-06 22:13:15 +08:00