Commit Graph

4012 Commits

Author SHA1 Message Date
Michael Hudson-Doyle c91245600c update probert 2021-06-10 10:04:41 +12:00
Michael Hudson-Doyle 7b3bb0278b fix some more assorted small wlan problems 2021-06-09 15:28:06 +12:00
Michael Hudson-Doyle fa9628f34c remove support from network model for filtering out wlan devices 2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle f2aa174b76 install wpasupplicant in the target system if it was installed in live system 2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle 907e7dd7b0 implement UI for tracking wpasupplicant install state
this should perhaps be in the subiquity package vs subiquitycore somehow
but that seems hard.
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle 7bb9af41d8 add wpasupplicant-install-state tracking to API
absolutely minimal client side implementation
2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle 6a37ab9733 do not show wlan nics to client until wpasupplicant is installed 2021-06-09 13:00:43 +12:00
Michael Hudson-Doyle 429155d1c4 start installing wpasupplicant when we see a wlan nic 2021-06-09 13:00:35 +12:00
Michael Hudson-Doyle d108d06aa8 add sample data with wifi 2021-06-09 11:07:22 +12:00
Dan Bungert 21058464fd
make_cloudconfig - start moving cloud config generation to models (#975)
Add make_cloudconfig as a function that models should offer that allows
for generation of the cloud-config snippet.
Move snaplist and locale to this mechanism.
Add a test for snaplist output.
2021-06-08 16:54:29 -06:00
Michael Hudson-Doyle 2a6b5d1a48
Merge pull request #978 from mwhudson/cloud-init-wait-tests
wait for cloud-init in test-in-lxd.sh
2021-06-09 10:24:51 +12:00
Michael Hudson-Doyle e812202869 wait for cloud-init in test-in-lxd.sh 2021-06-09 10:07:32 +12:00
Dan Bungert 86b087eb4b
Add client_variant (#976)
We need to know which controllers to block on, and which are optional.
The mechanism, for now, is this client_variant functionality, which adds
a mandatory early API call that the client shall use.  This allows
controllers to say that they are only required to be configured for
certain install clients, such as is necessary for timezone (which is
needed on desktop, and optional on server).
2021-06-08 16:06:32 -06:00
Michael Hudson-Doyle 2da12b66e1
Merge pull request #967 from mwhudson/render-wifi-config-separately
write any wifi config to a file only readable by root
2021-06-09 10:02:02 +12:00
Michael Hudson-Doyle 861295b192 add a comment about why we only split out the wifi config 2021-06-09 09:57:25 +12:00
Michael Hudson-Doyle 9c93f2b0e1 write any wifi config to a file only readable by root 2021-06-08 10:00:44 +12:00
Michael Hudson-Doyle 2c7ec18aa8
Merge pull request #973 from mwhudson/fs-boot-reorg
make booting related queries singledispatch methods
2021-06-08 08:49:28 +12:00
Dan Bungert 1d42f897a1
test-in-lxd: remove privileged container usage (#974)
* test-in-lxd: remove privileged container usage

* Don't assume certain home directory name

* Try enabling groovy
2021-06-07 14:36:37 -06:00
Michael Hudson-Doyle 15f995096e
Merge pull request #963 from mwhudson/wlan-fixes
subiquitycore wlan fixes
2021-06-04 15:43:00 +12:00
Michael Hudson-Doyle f47acf2932 one more small refactor 2021-06-04 14:57:39 +12:00
Michael Hudson-Doyle fad7f2ddda move is_bootloader_partition to standalone function 2021-06-04 14:54:45 +12:00
Michael Hudson-Doyle 15b8bee1fb make is_esp a singledispatch 2021-06-04 14:49:37 +12:00
Michael Hudson-Doyle faea101e12 try to refactor some boot device code in preparation for imsm 2021-06-04 09:26:51 +12:00
Michael Hudson-Doyle 8de00d30fa
Merge pull request #970 from dbungert/example-data-cleanup
Cleanup example data
2021-06-03 12:31:49 +12:00
Michael Hudson-Doyle 187b09fd45
Merge pull request #965 from mwhudson/wlan-methods-api
add wlan-related methods to API
2021-06-03 12:30:18 +12:00
Michael Hudson-Doyle 4c03823b06 update probert to version that has mark-wlan-earlier merged 2021-06-03 11:29:49 +12:00
Michael Hudson-Doyle 7b4a7b235c
Merge pull request #968 from mwhudson/kernel-controller
move kernel package selection to its own controller/model
2021-06-03 11:24:27 +12:00
Michael Hudson-Doyle 8e1e1439ae
Merge pull request #966 from mwhudson/fs-labels-reorg
move storage description functionality to singledispatch methods
2021-06-03 11:23:50 +12:00
Dan Bungert 2da973579e Cleanup example data
These examples were crashing dryrun if supplied as a machineconfig due
to the missing blockdev.
2021-06-02 14:54:43 -06:00
Dan Bungert 910e6f9bad
Typo fix 2021-06-02 09:09:19 -06:00
Dan Bungert 49ebdc0300 Merge branch 'main' into fs-labels-reorg 2021-06-02 09:03:16 -06:00
Dan Bungert 1a91ee7a01
github action: s/groovy/impish (#969) 2021-06-02 08:03:16 -06:00
Michael Hudson-Doyle c74b3ccf60 move label tests closer to implementation 2021-06-02 15:20:19 +12:00
Michael Hudson-Doyle a33682f101 replace bios_grub label with (slightly) English words 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle faa9473a25 mark a couple more strings as translatable
even if a translation being provided seems a bit unlikely
2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 957fd90699 migrate for_client to singledispatch 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle ef81639175 add docstrings to generic functions 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle f68c80cf7d kill off short_label as separate function 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 3441e5db5c migrate desc and short_label to singledispatch 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 4ef222ee03 migrate label to singledispatch 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 7f67f65875 migrate usage_labels to singledispatch 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 55191bafb5 make annotations a functools.singledispatch 2021-06-02 15:20:18 +12:00
Michael Hudson-Doyle 9564f9ae52 move kernel package selection to its own controller/model 2021-06-02 13:58:53 +12:00
Michael Hudson-Doyle 5b7409750e
Merge pull request #964 from mwhudson/network-error-reports
handle some networking errors better
2021-06-02 13:44:26 +12:00
Michael Hudson-Doyle 8848db87cd change log.error to log.exception when handling a network subsriber call failing 2021-06-02 13:23:44 +12:00
Michael Hudson-Doyle 65a3290a7d add wlan-related methods to API
nothing will call these yet because we are still hiding wlan nics in the
model but it is all simple enough
2021-06-02 13:18:18 +12:00
Michael Hudson-Doyle 6aaa0b70d9
Merge pull request #962 from mwhudson/fs-action-reorg
move DeviceAction stuff to its own file
2021-06-02 13:15:16 +12:00
Michael Hudson-Doyle 1e294a9915 do not crash the server when a call to a network subscriber fails 2021-06-02 13:09:14 +12:00
Michael Hudson-Doyle 4dd7922a80 generate an error report when a network subscription handler fails 2021-06-02 13:09:14 +12:00
Michael Hudson-Doyle c1e9b0a2d7 fix call to make_apport_report on apply_config failure 2021-06-02 13:09:14 +12:00