Commit Graph

6397 Commits

Author SHA1 Message Date
Dan Bungert 872f5cd25b
Merge pull request #1721 from dbungert/runtests-fix-reset-only
runtests: fix "unary operator expected" warning
2023-07-17 10:56:25 -06:00
Dan Bungert 7aca48c5ec
Merge pull request #1722 from dbungert/contributing
doc: create CONTRIBUTING starting point
2023-07-17 10:51:23 -06:00
Dan Bungert 3266a98a1c
Merge pull request #1717 from lindhe/consistent-bools-in-reference
Use true/false instead of yes/no for bools
2023-07-17 10:23:29 -06:00
Dan Bungert e3253389cc doc: create CONTRIBUTING starting point 2023-07-17 10:21:22 -06:00
Dan Bungert 832750297d runtests: fix "unary operator expected" warning 2023-07-17 10:00:55 -06:00
Olivier Gayot 0d989ef2d7
Merge pull request #1718 from lindhe/fix-typo-minimized
Fix typo in reference: minimized --> minimal
2023-07-17 10:32:09 +02:00
Michael Hudson-Doyle acbc26bb36 configure a UEFI boot entry to boot into a reset partition if present 2023-07-17 13:58:55 +12:00
Michael Hudson-Doyle 1f01efa4fb configure a grub menuentry to boot into a reset partition if present 2023-07-17 13:57:49 +12:00
Michael Hudson-Doyle b23d553220 fix using late-commands and reset-partition-only at the same time 2023-07-17 13:54:57 +12:00
Dan Bungert 7476600021
Merge pull request #1708 from dbungert/docs-autoinstall-tutorial
docs: autoinstall tutorial
2023-07-13 16:35:52 -06:00
Dan Bungert 0c429010a5
doc: editorial improvements to autoinstall tutorial
Co-authored-by: Sally <sally.makin@canonical.com>
2023-07-13 16:02:21 -06:00
Andreas Lindhé 2fcaa0e9e8 Fix typo in reference: minimized --> minimal
There is no such thing as `ubuntu-server-minimized`.
It should be `ubuntu-server-minimal`.

See for example here:
f8bf1105bf/examples/sources/install.yaml (L4)
2023-07-13 15:15:19 +02:00
Michael Hudson-Doyle f8bf1105bf
Merge pull request #1716 from mwhudson/refactor-install-package-from-pool
factor out code to install a package from the pool in the live session
2023-07-13 11:47:36 +12:00
Michael Hudson-Doyle cb1e760207 add docstring to PackageInstaller 2023-07-13 11:37:43 +12:00
Andreas Lindhé d604a2156f Use true/false instead of yes/no for bools
Before, the reference documentation was inconsistent with boolean
values. It sometimes used true/false and other times yes/no.

This changes makes it so that the reference documentation is
consistently using true/false.
2023-07-12 13:41:12 +02:00
Michael Hudson-Doyle 743c350b1f factor out code to install a package from the pool in the live session 2023-07-12 13:38:37 +12:00
Michael Hudson-Doyle 02e5bc3c17 rename WLANSupportInstallState to PackageInstallState 2023-07-12 13:03:29 +12:00
Michael Hudson-Doyle 00773f6517 stop sending all block device information across the API 2023-07-12 10:46:15 +12:00
Michael Hudson-Doyle 394c11782a use ._info in preference to poking in probe_data 2023-07-12 10:46:15 +12:00
Michael Hudson-Doyle 4eda684140 send _info attributes across the API 2023-07-12 10:46:12 +12:00
Michael Hudson-Doyle ea21e17bb6 add a way to have model object attributes serialized for api
i.e. so they are serialized for the client/server communication but not
when rendering the objects for curtin.
2023-07-12 10:44:04 +12:00
Michael Hudson-Doyle 9ad2771f91 attach StorageInfo objects to Partition and Raid instances 2023-07-12 10:42:36 +12:00
Michael Hudson-Doyle 35924d465c refactor ok_for_xxx tests a bit 2023-07-12 10:42:36 +12:00
Michael Hudson-Doyle 5af40f0b28
Merge pull request #1710 from mwhudson/annotate-fsmodel
add annotations to storage model objects
2023-07-12 10:41:57 +12:00
Michael Hudson-Doyle 097982fa82
Merge pull request #1714 from mwhudson/update-probert
Update probert
2023-07-12 09:29:36 +12:00
Dan Bungert b6e45ce18b
Merge pull request #1711 from s-makin/RTD-config-file
Add readthedocs config file
2023-07-11 15:22:58 -06:00
Michael Hudson-Doyle c1d8dcf381 refresh simple.json, in particular with maj:min mount data 2023-07-11 23:11:31 +12:00
Michael Hudson-Doyle f0ce323ca2 update probert 2023-07-11 23:11:31 +12:00
Michael Hudson-Doyle 07cc844009
Merge pull request #1713 from mwhudson/organize-examples
tidy up examples/ directory
2023-07-11 23:09:29 +12:00
Michael Hudson-Doyle 2c75df0ddf remove now-redundant parts of the file names in examples/ 2023-07-11 22:46:19 +12:00
Olivier Gayot 560247ec02
Merge pull request #1712 from ogayot/pr/bump-curtin-kernel-null
snapcraft: pickup curtin's 'kernel: null' fix
2023-07-11 09:13:30 +02:00
Michael Hudson-Doyle 6b35e5e4a1 tidy up examples/ directory
Move machine configs, sources, autoinstall files and dry-run configs
into their own subdirectories.
2023-07-11 12:49:22 +12:00
Olivier Gayot 9de3beb6ce snapcraft: pickup curtin's 'kernel: null' fix
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2023-07-10 18:26:37 +02:00
Sally Makin d60ceef09c Add readthedocs config file
This file (.readthedocs.yaml) will be required to build RTD projects
(effective from 25th September 2023)
2023-07-10 14:49:47 +01:00
Michael Hudson-Doyle 06977b3b90 remove redundant attr.ib objects 2023-07-10 11:04:26 +12:00
Michael Hudson-Doyle 678f730937 set kw_only and auto_attribs for all storage model objects 2023-07-10 11:04:26 +12:00
Michael Hudson-Doyle 53e6738e5f add annotations to all storage model objects 2023-07-10 11:04:26 +12:00
Michael Hudson-Doyle b020cca139 rewrite guided disk selection to be more general
Drive various decisions that used to be keyed off core boot capabilities
and special purpose bits of the API by the new guided capability stuff.
I tried to think of a way to do this incrementally and failed. It might
be easier to review the new code rather than the diff in places.
2023-07-08 21:52:23 +12:00
Michael Hudson-Doyle 95e520ddf8
Merge pull request #1706 from mwhudson/manual-capability
add a target/capability for manual partitioning
2023-07-08 21:31:03 +12:00
Michael Hudson-Doyle 4d52155e09 remove obsolete comment 2023-07-08 21:19:42 +12:00
Dan Bungert 8a3392e01a doc: wording and space tweaks to tutorial 2023-07-07 14:36:06 -06:00
Dan Bungert bc510872a4 doc: further editorial improvements to tutorial
Co-authored-by: Chad Smith <chad.smith@canonical.com>
2023-07-07 14:35:29 -06:00
Dan Bungert 482a2bfbd0 doc: simpler copyright declaration 2023-07-07 12:17:10 -06:00
Dan Bungert 3f5a62af79 doc: drop the extension to use markdown
Co-authored-by: Sally <sally.makin@canonical.com>
2023-07-07 10:39:48 -06:00
Dan Bungert 1418af004f doc: many tutorial editorial improvements
Co-authored-by: Sally <sally.makin@canonical.com>
2023-07-07 10:39:48 -06:00
Dan Bungert 35bbd4db18 doc: fix index titles
Co-authored-by: Sally <sally.makin@canonical.com>
2023-07-07 10:09:14 -06:00
Dan Bungert 70e9b00c14 doc: fix title
Co-authored-by: Sally <sally.makin@canonical.com>
2023-07-07 10:08:46 -06:00
Dan Bungert 337c4f8cc8 doc: most yaml samples in ccd format 2023-07-07 09:46:16 -06:00
Dan Bungert 02efd6ae7d doc: intersphinx to cloud-init 2023-07-07 09:01:49 -06:00
Dan Bungert 34333f536f doc: add stub reference, and sample links to it 2023-07-07 09:01:49 -06:00