Dan Bungert
502c1193fd
Temp disable schema check on Impish ( #1000 )
...
Impish is adding more timezones, which is cool, but breaks my schema
check, so disable this there for now and come back later with a better
answer.
Also schema check seems to need curtin.
2021-07-13 11:17:55 -06:00
Dan Bungert
40945f1823
TimeZone: autoinstall and API (FR-1184) ( #986 )
...
* TimeZone: autoinstall and API
Add support for Get/Set timezone methods. Get means that we inquire
with GeoIP as to which timezone is suggested. Non-availability of
GeoIP, or a previous explicit Set, means that we return the system
timezone. Set of timezone by Post results in set of the live system
timzeone, and queuing a set of the target system by way of cloud-init.
* Add clarifying comment about _request.
2021-07-13 06:25:03 -06:00
Michael Hudson-Doyle
c31e2a060a
Merge pull request #997 from mwhudson/imsm
...
support for pre-existing vroc containers and volumes
2021-07-07 08:48:18 +12:00
Michael Hudson-Doyle
aac56ae776
update curtin to get some raid container fixes
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
916ee7516e
add an imsm integration test
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
f5e8359226
do not offer components of imsm containers with volumes as guided options
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
dfe36d7617
support imsm volumes as boot devices
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
7cfd5e42ab
support display and some actions for imsm raid arrays and volumes
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
6be1289933
add examples/imsm.json
2021-07-07 08:40:33 +12:00
Michael Hudson-Doyle
89664a2446
Merge pull request #991 from mwhudson/installdeps-commit
...
install curtin at commit specified in snapcraft.yaml for CI
2021-07-07 08:35:54 +12:00
Michael Hudson-Doyle
cddfd42799
update .gitignore
2021-07-05 09:25:01 +12:00
Michael Hudson-Doyle
cf931f673f
update script to update exsting checkout
2021-07-05 09:23:39 +12:00
Michael Hudson-Doyle
aa0dfb011d
Merge pull request #996 from mwhudson/fewer-apps
...
remove some apps from the snapcraft.yaml
2021-07-02 14:11:02 +12:00
Michael Hudson-Doyle
f9410e4e86
install probert and curtin via Makefile for testing
...
rather than pip or apt respectively
2021-07-02 13:49:40 +12:00
Michael Hudson-Doyle
50ce450f2a
add a gitdeps target to Makefile that checks out probert and curtin
...
This uses a silly python script to get the exact version that the
snapcraft.yaml specifies.
2021-07-02 13:48:49 +12:00
Michael Hudson-Doyle
8e253fb955
remove some apps from the snapcraft.yaml
2021-07-02 11:59:21 +12:00
Dan Bungert
5b54579d24
Unhardcode path to subiquity-loadkeys ( #994 )
...
With multiple users of subiquity in different ways, this may not be
always available at this specific location.
2021-07-01 17:45:37 -06:00
Michael Hudson-Doyle
bfb6a38b56
Merge pull request #995 from dbungert/lp-1934408
...
Default selected_language to en_US if LANG is not helpful
2021-07-02 11:38:19 +12:00
Dan Bungert
f57b3d1f61
Default selected_language to en_US if LANG is not helpful
2021-07-01 17:26:21 -06:00
Dan Bungert
90b1bb9eed
Refactor - drop external_temp_file ( #985 )
...
Move unattended-upgrades to part of postinstall, so it can be done
before the restore_apt_config umount, which lets us get rid of the
redundant external_temp_file logic.
2021-06-28 17:11:49 -06:00
Michael Hudson-Doyle
edb101cf2a
Merge pull request #993 from mwhudson/lp-1933711
...
allow a mount action to not have a device
2021-06-29 11:03:44 +12:00
Michael Hudson-Doyle
cf75408e46
Merge pull request #992 from mwhudson/generalize-_one-_all
...
make two FilesystemModel helper methods slightly more general
2021-06-29 10:56:03 +12:00
Michael Hudson-Doyle
7de63e7aae
allow a mount action to not have a device
...
for https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1933711
2021-06-28 10:49:46 +12:00
Michael Hudson-Doyle
067c3a949b
make two FilesystemModel helper methods slightly more general
...
so I can adapt a call to not require changes when imsm volumes become
possible boot devices
2021-06-25 13:52:29 +12:00
Michael Hudson-Doyle
16d34299b2
Merge pull request #989 from mwhudson/old-raid-size
...
for an existing raid, read the size out of udev data rather than guessing
2021-06-25 08:55:21 +12:00
Michael Hudson-Doyle
acda94b77a
Merge pull request #990 from mwhudson/clean-up-meth
...
remove a method that got missed in some previous branch
2021-06-24 19:38:55 +12:00
Michael Hudson-Doyle
71810263b0
remove a method that got missed in some previous branch
2021-06-24 19:32:26 +12:00
Michael Hudson-Doyle
ac964b4312
for an existing raid, read the size out of udev data rather than guessing
2021-06-23 15:12:16 +12:00
Michael Hudson-Doyle
580d040398
Merge pull request #988 from mwhudson/workaround-lp-1925745
...
install packages with -o APT::Get::Always-Include-Phased-Updates=true
2021-06-17 10:42:38 +12:00
Michael Hudson-Doyle
6ab29c5868
install packages with -o APT::Get::Always-Include-Phased-Updates=true
...
to work around bug #1925745 in apt until it is SRUed.
2021-06-17 10:37:35 +12:00
Michael Hudson-Doyle
5e7a6b89fb
Merge pull request #984 from fulldecent/main
...
Correct spelling of GitHub
2021-06-16 22:03:36 +12:00
William Entriken
5876f7e770
Correct spelling of GitHub
2021-06-15 15:08:36 -04:00
Dan Bungert
6a189dd598
Add EventCallback, and move mirror task things to GeoIP ( #983 )
...
Move mock_app to common location.
Move run_coro to subiquitycore so that subiquitycore doesn't have to
reference things in subiquity, even for test.
Move task tracking things from mirror to geoip.
Server app owns the geoip instance.
Create EventCallback as an alternative to MessageHub that should
hopefully express clearer intermodule dependencies.
2021-06-14 16:05:27 -06:00
Michael Hudson-Doyle
92bc06b5c0
Merge pull request #982 from mwhudson/snap-fix
...
add python3-yaml to build-packages (make-kbd-info.py now indirectly r…
2021-06-11 15:37:38 +12:00
Michael Hudson-Doyle
5f6695d9d3
add python3-yaml to build-packages (make-kbd-info.py now indirectly requires this)
2021-06-11 14:21:16 +12:00
Michael Hudson-Doyle
83d076975d
Merge pull request #979 from mwhudson/install-wpasupplicant-on-demand
...
install wpasupplicant when a wifi nic is seen
2021-06-10 12:54:09 +12:00
Dan Bungert
6aa33ecddc
GeoIP: split out, add timezone ( #981 )
...
Split GeoIP out to a distinct class.
Add timezone support to it.
Add GeoIP tests.
2021-06-09 18:44:47 -06:00
Michael Hudson-Doyle
ef008f4aea
address review comments
2021-06-10 12:32:29 +12:00
Michael Hudson-Doyle
30b8767374
Merge pull request #980 from mwhudson/wlan-fixes-harder
...
fix some more assorted small wlan problems
2021-06-10 10:47:12 +12:00
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