Michael Hudson-Doyle
51aaf7265c
allow a lvm_partition to not have a size
...
for autoinstalls. Curtin supports this.
https://bugs.launchpad.net/subiquity/+bug/1941968
2021-09-27 13:17:39 +13:00
Michael Hudson-Doyle
3b5e7ff92c
Merge pull request #1062 from frank-heimes/frank-heimes-lp1944516
...
Add '--quiet' to 'lszdev' to omit additional progress msg - lp1944516
2021-09-27 09:49:04 +13:00
fheimes
f6154d9129
Update zdev-generate.py
...
adjusted whitespaces
2021-09-25 20:09:54 +02:00
Dan Bungert
af8dcfe6c3
pubsub: remove subscribe args, more broadcast args
...
Remove the subscribe time args, as they weren't used.
With that flexibility we can add many args at broadcast time.
2021-09-24 13:11:55 -06:00
Dan Bungert
350ce11dd9
pubsub: optional argument at broadcast time
2021-09-24 13:10:04 -06:00
fheimes
913436c77a
Update zdev-generate.py
...
Adding "--quiet" as additional option to "lszdev" - here more for the reason of completeness and for consistency reasons.
The relevant change for solving LP#1944516 is the change in subiquity/server/controllers/zdev.py
2021-09-24 20:01:31 +02:00
fheimes
6cdf97088a
Update zdev.py
...
Adding "--quiet" as additional option to "lszdev" omits additional progress status messages that "lszdev" might produce in case a significant amount of ccw devices are present (in the range of thousands of devices), since such progress messages will eventually cause parsing issues, like mentioned in LP#1944516.
2021-09-24 19:40:40 +02:00
Michael Hudson-Doyle
c0f1bbf5a1
cope with the server going away earlier too
2021-09-24 15:53:48 +12:00
Michael Hudson-Doyle
d025ddaa27
write server state to disk when it is updated
...
and check this in client when getting status over api fails
2021-09-24 15:53:48 +12:00
Michael Hudson-Doyle
2f9c22961e
Merge pull request #1042 from canonical/wsl_oobe_auto_reconf_mode
...
DE-98/DE-99 - system_setup: Wsl oobe auto reconf mode
2021-09-24 14:26:23 +12:00
Dan Bungert
d23f00f771
Merge pull request #1060 from dbungert/autoinstall-generation
...
autoinstall: fix issues in autoinstall roundtrip
2021-09-23 16:59:38 -06:00
Michael Hudson-Doyle
3ba3815e73
Merge pull request #1061 from mwhudson/log-dir-permissions
...
set wider permissions on log directory
2021-09-23 21:50:42 +12:00
Michael Hudson-Doyle
7f6af23694
set wider permissions on log directory
2021-09-23 21:24:44 +12:00
Patrick Wu
ee3a3df893
sustem_setup: fixes according to Michael's feedback
2021-09-23 15:10:39 +08:00
Michael Hudson-Doyle
df3724881f
keep answers compatibility for snaplist
2021-09-23 15:41:09 +12:00
Dan Bungert
3de314a64f
fixup: snap & autoinstall
2021-09-22 17:45:58 -06:00
Dan Bungert
e41851765e
autoinstall: fix snap output
...
schema wanted to match on classic, but autoinstall was generating as
is_classic.
2021-09-22 16:54:03 -06:00
Dan Bungert
46c57fc6f0
autoinstall: fix kernel output
...
The generated autoinstall was doing an extra level of kernel output.
2021-09-22 16:50:56 -06:00
Didier Roche
fa9957d27d
Merge pull request #1055 from canonical/wsl_oobe_no_dry_mode
...
WSL OOBE - no dry mode
2021-09-21 11:49:38 +02:00
Dan Bungert
7153a03d36
Merge pull request #1057 from dbungert/cleanup-runtests
...
runtests: misc cleanup
2021-09-20 17:46:17 -06:00
Dan Bungert
525060be16
runtests: misc cleanup
...
* remove a stray space
* remove an extra call to check-yaml-fields.py, which can accept a list
of directives
* remove an entire redundant autoinstall run that I added as part of
bitlocker work but isn't actually verified in any way other than not
timing out
2021-09-20 16:46:23 -06:00
Michael Hudson-Doyle
78fe5e82a8
Merge pull request #1053 from mwhudson/broadcast-configured
...
Have SubiquityController.configured broadcast rather than set an event
2021-09-21 10:09:58 +12:00
Michael Hudson-Doyle
4710e81367
Merge pull request #1052 from mwhudson/generalize-packages
...
generalize how models can ask for pcakges to be installed in the target
2021-09-21 10:03:45 +12:00
Jean-Baptiste Lallement
0a5b8fcf46
Do not wait on cloud-init on system without cloud-init
...
On systems where cloud-init cannot run (ie WSL) we where waiting forever
on cloud-init
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-20 19:30:36 +02:00
Jean-Baptiste Lallement
eee1e9de6d
Start server if not socket activated
...
On systems without socket activation enabled, the client starts the
server manually.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-20 19:29:10 +02:00
Patrick Wu
365769c365
system_setup: update Summary code
2021-09-20 21:58:16 +08:00
Patrick Wu
1aac580dfd
system_setup: update the detection logic
2021-09-20 21:58:16 +08:00
Patrick Wu
ceae8e9d19
system_setup: fixes according to the feedback
...
1. update client_variant comment
2. remove Welcome controller
3. remove a TODO
2021-09-20 19:54:27 +08:00
Patrick Wu
6303b5d6c5
system_setup: proper wsl_configuration UI setup
...
This fixes In wsl_configuration mode the UI shows ”base”/”advanced” screens.
2021-09-20 19:54:14 +08:00
Patrick Wu
018185af49
system_setup: system setup API for Flutter UI part
...
This completes TODO "provide an API for this for the flutter UI to know
about it"
API is at /meta/client_variant with GET method, returns a string
2021-09-20 19:39:20 +08:00
Patrick Wu
78221ebf25
system setup: auto reconf mode general completion
...
Mostly complete the second task except the API for GUI:
Implement an API in the server to know if we are in reconfigure or setup mode based on existing UID user >= 1000. Fetch that API from the client and set the variant to wsl_setup or wsl_configuration.
2021-09-20 19:39:20 +08:00
Michael Hudson-Doyle
156aabbd35
allow target_packages to be async
2021-09-17 15:48:24 +12:00
Michael Hudson-Doyle
c695dfec82
generalize how models can ask for pcakges to be installed in the target
2021-09-17 15:41:18 +12:00
Michael Hudson-Doyle
9051a33c4f
make SubiquityController.configured async
2021-09-16 20:59:01 +12:00
Michael Hudson-Doyle
aa9c945674
Have SubiquityController.configured broadcast rather than set an event
...
This should make it cleaner to implement interdependencies between
controllers, like in-progress installation source selection needs to
know about locale changes.
2021-09-16 20:59:01 +12:00
Michael Hudson-Doyle
ac8052b97c
Merge pull request #1047 from dbungert/actions-existing-contribs
...
actions: +accept-existing-contributors for CLA
2021-09-14 15:12:28 +12:00
Michael Hudson-Doyle
1519c49d8e
Merge pull request #1030 from mwhudson/source-selection-3
...
install source selection
2021-09-14 15:10:58 +12:00
Michael Hudson-Doyle
341e176ffa
Merge pull request #1049 from mwhudson/lp-1903050
...
fix console_conf yet again
2021-09-14 15:04:14 +12:00
Michael Hudson-Doyle
65b3cdf79b
fix console_conf yet again
2021-09-13 16:22:25 +12:00
Michael Hudson-Doyle
5c66260369
remove min_size from guided API, use source installed size instead
2021-09-13 13:23:16 +12:00
Michael Hudson-Doyle
6fd5eb6ee9
do not need to POST to /meta/client_variant any more
2021-09-13 13:23:16 +12:00
Michael Hudson-Doyle
8c83ad05cc
simple client side ui for source selection
2021-09-13 13:23:16 +12:00
Michael Hudson-Doyle
a6270cbaa1
server side implementation of source selection
2021-09-13 13:23:09 +12:00
Michael Hudson-Doyle
1c5cf3adf8
Merge pull request #1048 from dbungert/disable-autoinstall
...
autoinstall: skip autoinstall on empty arg
2021-09-13 12:11:24 +12:00
Michael Hudson-Doyle
93e157904e
Merge pull request #1034 from mwhudson/curtin-update
...
update curtin
2021-09-13 12:09:31 +12:00
Dan Bungert
0257e90052
autoinstall: skip autoinstall on empty arg
...
If autoinstall is set on the command line, don't override that with a
pre-baked file or from cloud-init. The intent here is to allow
ubuntu-desktop-installer to temporarily say --autoinstall="" to disable
autoinstall until UI support for autoinstall is in place.
2021-09-10 10:40:01 -06:00
Dan Bungert
6b1700bd47
actions: +accept-existing-contributors for CLA
...
Canonical employees who have not signed the CLA, and sign commits with
their ubuntu.com alias, fall into a weird gap where their commits are
covered (as employees) but there is no great way for the CLA check to
determine that.
https://github.com/canonical/subiquity/pull/1044#issuecomment-916764603
2021-09-10 07:44:06 -06:00
Didier Roche
2b3d163aa7
Merge pull request #1045 from canonical/system_setup_duplicated_fields
...
DE-97 - system-setup: finished removing duplicated fields
2021-09-10 12:16:11 +02:00
Jean-Baptiste Lallement
717cb5b541
system-setup: finished removing duplicated fields
...
There was some remaining duplicated fields in the controllers and models
between base and advanced configuration, which made the code crash.
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-09-10 12:07:55 +02:00
Michael Hudson-Doyle
1f49f0285e
Merge pull request #1043 from dbungert/cla
...
actions: add cla-check
2021-09-10 12:00:45 +12:00