Dan Bungert
3dfaa9ccea
Merge pull request #1731 from dbungert/zfs-fixes
...
Zfs fixes
2023-07-19 19:14:01 -06:00
Dan Bungert
9a572996c8
Merge pull request #1729 from dbungert/udi-2252
...
filesystem: fix ~6GB extra pad on classic min size
2023-07-19 18:34:48 -06:00
Dan Bungert
1c9ada93e8
doc: reference update for guided zfs
2023-07-19 14:54:37 -06:00
Dan Bungert
ffc73ff8b1
filesystem: fix failed zpool export
...
Ordering matters of zpool export, or we get an 'export failed' error.
If one does a force reboot the export was not performed, and we
initramfs-prompt until someone does `zpool import -f $poolname`.
2023-07-19 14:54:37 -06:00
Dan Bungert
e79b6e2305
filesystem: guided zfs ordering tweak
2023-07-19 14:54:37 -06:00
Dan Bungert
86b9c5749b
examples: guided zfs autoinstall example
2023-07-19 14:54:37 -06:00
Dan Bungert
83c7c6de93
filesystem: log unknown action types
2023-07-19 14:54:37 -06:00
Michael Hudson-Doyle
b57087c8da
Merge pull request #1727 from mwhudson/no-apt-configuration-for-core
...
support core installs a bit more
2023-07-20 08:34:44 +12:00
Dan Bungert
c9fcd7d798
filesystem: fix ~6GB extra pad on classic min size
2023-07-19 09:48:08 -06:00
Dan Bungert
1d4b0ff71b
Merge pull request #1728 from mwhudson/curtin-update
...
update curtin
2023-07-19 09:47:34 -06:00
Michael Hudson-Doyle
55c68b5855
add an integration test to install core and some fixes
...
Note that it may not be possible to create an fsimage to use as a core
installation source (haven't tried, tbh) but I have upcoming changes to
use a disk image as installation source.
2023-07-19 15:49:32 +12:00
Michael Hudson-Doyle
8c958dda7e
update curtin
...
2495681a support dd-raw:file:// urls
ecd94789 have ChrootableTarget ignore allow_daemons when target == "/"
I need the former for the core desktop installation stuff, the latter to
fix integration tests in some environments.
2023-07-19 15:45:46 +12:00
Michael Hudson-Doyle
0b3a1c2c6a
generalize InstallController's handling of installs without apt
2023-07-19 15:41:33 +12:00
Michael Hudson-Doyle
008da97c03
Merge pull request #1723 from mwhudson/reformat-from-rp
...
offer guided options for the install media
2023-07-19 14:33:46 +12:00
Michael Hudson-Doyle
17c7b65442
include in use information in storage/v2 api
2023-07-19 13:01:01 +12:00
Michael Hudson-Doyle
7a39a53d59
offer reformats for the install media
2023-07-19 13:00:54 +12:00
Michael Hudson-Doyle
c147945e10
handle in use partitions in server ui a bit
2023-07-19 13:00:16 +12:00
Michael Hudson-Doyle
9d050d4049
move filtering of disks with mounted partitions to client side
2023-07-19 13:00:16 +12:00
Michael Hudson-Doyle
37a4a76cee
do not record install media as directly formatted
...
instead prefer to record the partition as such (as casper does)
2023-07-19 13:00:16 +12:00
Michael Hudson-Doyle
a8d680ebd0
identify mounted partitions more explicitly
...
Some care to handle old machine configs in sample data. Would be nice to
have a semi-automated way to refresh them!
2023-07-19 13:00:16 +12:00
Michael Hudson-Doyle
e399670002
Merge pull request #1720 from mwhudson/configure-rp-boot
...
configure reset partition boot
2023-07-19 12:59:25 +12:00
Michael Hudson-Doyle
7353085eb2
Merge pull request #1707 from mwhudson/no-mirror-config-for-core
...
do not do any mirror configuration when installing core
2023-07-19 08:58:43 +12:00
Michael Hudson-Doyle
0287671bd5
Merge pull request #1724 from mwhudson/install-races
...
wait for subscribers to run when broadcasting INSTALL_CONFIRMED
2023-07-19 08:58:04 +12:00
Michael Hudson-Doyle
9268c92aa2
Merge pull request #1725 from mwhudson/oem-no-wait-apt
...
oem: check variant before waiting for apt configuration
2023-07-19 08:57:51 +12:00
Michael Hudson-Doyle
3fc38439ca
Merge pull request #1726 from mwhudson/generalize-screen-skipping
...
generalize the way screens are skipped when installing desktop
2023-07-19 08:56:53 +12:00
Dan Bungert
368c5d10ee
Merge pull request #1699 from dbungert/zfs-guided
...
Zfs guided
2023-07-18 08:24:07 -06:00
Michael Hudson-Doyle
f838fcabb3
generalize the way screens are skipped when installing desktop
...
Also skip identity screen when installing neither server nor desktop
(i.e. core).
2023-07-18 22:42:24 +12:00
Michael Hudson-Doyle
ece437c73e
do not do any mirror configuration when installing core
2023-07-18 22:33:47 +12:00
Michael Hudson-Doyle
66823be3f7
oem: check variant before waiting for apt configuration
...
because if we add support for variant == 'core' (spoilers!), then apt
may never be configured.
2023-07-18 22:27:30 +12:00
Michael Hudson-Doyle
9eb7b24c9c
rejig answers support to not call confirm_install before storage is configured
2023-07-18 22:27:30 +12:00
Michael Hudson-Doyle
00102ec258
wait for subscribers to run when broadcasting INSTALL_CONFIRMED
2023-07-18 16:03:08 +12:00
Michael Hudson-Doyle
8e51aca19c
maybe fix CI in actions
2023-07-18 13:31:01 +12:00
Michael Hudson-Doyle
cf3de7fb25
add tests for create_rp_boot_entry
...
and fix the bugs it uncovered, yay
2023-07-18 13:25:32 +12:00
Michael Hudson-Doyle
c991568c8b
more review suggestions: use .format, add header
2023-07-18 12:42:57 +12:00
Michael Hudson-Doyle
6d67a2dd6f
Apply suggestions from @ogayot
...
Co-authored-by: Olivier Gayot <olivier.gayot@sigexec.com>
2023-07-18 12:38:13 +12:00
Dan Bungert
6d54ac2977
filesystem: zfs autoinstall
2023-07-17 18:14:45 -06:00
Dan Bungert
13890db253
filesystem: add basic guided zfs
2023-07-17 17:36:33 -06:00
Dan Bungert
0022025e89
filesystem: zfs/zpool api object support
2023-07-17 17:35:06 -06:00
Dan Bungert
0cc4fdf348
filesystem: simpler fstype from mount
2023-07-17 17:35:01 -06:00
Dan Bungert
4d28f305f4
filesystem: zpool type improvements
2023-07-17 17:34:57 -06:00
Dan Bungert
4e1a7b40c6
filesystem: add zfs capability flag
2023-07-17 17:20:03 -06:00
Dan Bungert
f82067c50e
Merge pull request #1698 from dbungert/zfs-swap
...
zfs: no swapfile
2023-07-17 17:19:26 -06:00
Michael Hudson-Doyle
66b1c0f1f2
Merge pull request #1709 from mwhudson/guided-screen-rewrite
...
rewrite guided disk selection to be more general
2023-07-18 11:17:59 +12:00
Dan Bungert
0afda56696
filesystem: ask curtin about swapfiles
...
Curtin and Subiquity both have swap file decision logic, let curtin be
the source of truth. We can tweak the desired behavior in curtin.
2023-07-17 15:42:37 -06:00
Dan Bungert
3b0742e5fe
filesystem: unittest for existing swap behavior
2023-07-17 15:42:37 -06:00
Michael Hudson-Doyle
7c853af08f
Merge pull request #1715 from mwhudson/rework-client-model-serialization
...
specialize how fs model objects are sent across API
2023-07-18 09:05:01 +12:00
Michael Hudson-Doyle
911c357d42
Merge pull request #1719 from mwhudson/reset-only-late-commands
...
fix using late-commands and reset-partition-only at the same time
2023-07-18 09:02:32 +12:00
Dan Bungert
273999c8b0
filesystem: rename should_add_swapfile
...
Will be used by the controller to make a swap partition decision.
2023-07-17 14:53:00 -06:00
Dan Bungert
d1e716fe8d
Merge pull request #1536 from ITJamie/layout_grub_config
...
load grub config from ai_data
2023-07-17 14:13:30 -06:00
Dan Bungert
7af51a6fe3
storage: swap + layout
2023-07-17 13:47:08 -06:00