-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2281 - target manually partitioned disk #235
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #235 +/- ##
==========================================
- Coverage 59.20% 59.03% -0.17%
==========================================
Files 39 39
Lines 4233 4248 +15
==========================================
+ Hits 2506 2508 +2
- Misses 1451 1463 +12
- Partials 276 277 +1 ☔ View full report in Codecov by Sentry. |
This is just playing around with code to find where we break it. I created a VM in qemu with 2 disks:
Kairos would automatically pick /dev/vda because it's the bigger disk. My goal is to point the installation to a manually partitioned /dev/vdb. With the (not-to-be-merged) changes in this PR and a config like the one below, I can successfully install on
I manually create a partition of 1Mb to allow grub to install. Putting it to the |
internal/agent/install.go
Outdated
installSpec.NoFormat = c.Install.NoFormat | ||
fmt.Printf("!!!!!!!!!! installSpec.NoFormat = %+v\n", installSpec.NoFormat) | ||
fmt.Printf("!!!!!!!!!! c.Install.NoFormat = %+v\n", c.Install.NoFormat) | ||
//installSpec.NoFormat = c.Install.NoFormat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line sets NoFormat
to false
although in my config I set it to true
822b873
to
70ba7a0
Compare
70ba7a0
to
19aeef1
Compare
this is an alternative command for the grub partition:
|
The binary from this PR makes the added test pass: kairos-io/kairos#2291 |
config.yaml
Outdated
@@ -0,0 +1,46 @@ | |||
#cloud-config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sample is now part of the test in kairos: https://github.com/kairos-io/kairos/pull/2291/files#diff-1ff1699e612ac7f8c508e5f9f6a784b37441b01b8cfdebd8da3b068280385247R87
I'll remove it from here.
534eda5
to
a9f3f8c
Compare
@@ -213,10 +213,6 @@ func RunInstall(c *config.Config) error { | |||
utils.SetEnv(c.Env) | |||
utils.SetEnv(c.Install.Env) | |||
|
|||
if c.Install.Device == "" || c.Install.Device == "auto" { | |||
c.Install.Device = detectDevice() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if err != nil { | ||
i.cfg.Logger.Errorf("partitioning and formating devices: %s", err.Error()) | ||
return err | ||
if i.spec.NoFormat { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to add a test for the UKI case too here: kairos-io/kairos#2291
to be complete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually creating the disk layout that the UKI installation creates is tricky:
[kairos@fedora ~]$ sudo blkid
/dev/sr0: BLOCK_SIZE="2048" UUID="2024-04-09-09-34-22-00" LABEL="UKI_ISO_INSTALL" TYPE="iso9660"
/dev/loop0: UUID="B9E2-794E" BLOCK_SIZE="512" TYPE="vfat"
/dev/vda2: UUID="8bfa06f9-ca4f-56dc-90c9-49cf20f4f45e" TYPE="crypto_LUKS" PARTLABEL="oem" PARTUUID="d0be3cb8-e04d-4bc9-9bde-311a516eece2"
/dev/vda3: UUID="85c39d0f-4867-5227-8334-f5eec606d9eb" TYPE="crypto_LUKS" PARTLABEL="persistent" PARTUUID="bc2d3f7d-54c6-4fc9-9918-595b19129d50"
/dev/vda1: LABEL_FATBOOT="COS_GRUB" LABEL="COS_GRUB" UUID="E9F3-549E" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="efi" PARTUUID="feb38d63-49d4-4b2d-a1d6-2f340a27e4c5"
We can keep the code around here but writing a test for it is rather complex (creating a layout with encrypted partitions using the tpm). I'm not sure if anyone will ever be interested in this feature in UKI mode.
Fixes kairos-io/kairos#2281 Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
Signed-off-by: Dimitris Karakasilis <[email protected]>
7ece12a
to
b80dcdb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good. Im a bit worried about the auto select and no format stuff, but if it passes tests then its good to me. cant break no-format anymore :D
I didn't run the full test suite, only the new test. The only thing I can say is that it fixes |
Depends on this: mudler/yip#141 otherwise this config won't work:
|
We need this from yip: mudler/yip@4ebbc75 Signed-off-by: Dimitris Karakasilis <[email protected]>
The rest of the tests pass: https://github.com/kairos-io/kairos/actions/runs/8616215034/job/23646545504?pr=2291 but I pushed some fixes here to fix the new test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still looking good to me
….1 (#506) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/kairos-io/kairos-agent/v2](https://togithub.com/kairos-io/kairos-agent) | `v2.4.5` -> `v2.9.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.4.5/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.4.5/v2.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kairos-io/kairos-agent (github.com/kairos-io/kairos-agent/v2)</summary> ### [`v2.9.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.9.1) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.9.0...v2.9.1) #### What's Changed - Remove config show in favor of parent command by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/281](https://togithub.com/kairos-io/kairos-agent/pull/281) - added null-logger to render-template command by [@​Akvanvig](https://togithub.com/Akvanvig) in [https://github.com/kairos-io/kairos-agent/pull/282](https://togithub.com/kairos-io/kairos-agent/pull/282) - 2281 - target manually partitioned disk by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/235](https://togithub.com/kairos-io/kairos-agent/pull/235) - Fix building under 1.19 by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/284](https://togithub.com/kairos-io/kairos-agent/pull/284) - Update dependency [@​fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free) to v6.5.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/285](https://togithub.com/kairos-io/kairos-agent/pull/285) - Update dependency alpinejs to v3.13.8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/286](https://togithub.com/kairos-io/kairos-agent/pull/286) - Enable debug mode from different places by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/287](https://togithub.com/kairos-io/kairos-agent/pull/287) - Keep logs after reset by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/288](https://togithub.com/kairos-io/kairos-agent/pull/288) - Move the Image() filtering to kairos-sdk by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/292](https://togithub.com/kairos-io/kairos-agent/pull/292) - Fix url when manual install by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/289](https://togithub.com/kairos-io/kairos-agent/pull/289) - Bump golang.org/x/image from 0.0.0-20191206065243-da761ea9ff43 to 0.10.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kairos-io/kairos-agent/pull/276](https://togithub.com/kairos-io/kairos-agent/pull/276) - Update dependency cypress to v13 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/256](https://togithub.com/kairos-io/kairos-agent/pull/256) - Bump github.com/docker/docker from 24.0.0+incompatible to 24.0.9+incompatible by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kairos-io/kairos-agent/pull/273](https://togithub.com/kairos-io/kairos-agent/pull/273) - Expand source error by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/293](https://togithub.com/kairos-io/kairos-agent/pull/293) - Update dependabot/fetch-metadata action to v1.7.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/294](https://togithub.com/kairos-io/kairos-agent/pull/294) - Update module github.com/kairos-io/kairos-sdk to v0.1.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/295](https://togithub.com/kairos-io/kairos-agent/pull/295) - Update dependabot/fetch-metadata action to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/297](https://togithub.com/kairos-io/kairos-agent/pull/297) - Update module github.com/labstack/echo/v4 to v4.12.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/296](https://togithub.com/kairos-io/kairos-agent/pull/296) - Update module golang.org/x/oauth2 to v0.19.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/268](https://togithub.com/kairos-io/kairos-agent/pull/268) - Build web dependencies before producing release artifacts by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/300](https://togithub.com/kairos-io/kairos-agent/pull/300) - Update module github.com/kairos-io/kairos-sdk to v0.1.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/301](https://togithub.com/kairos-io/kairos-agent/pull/301) #### New Contributors - [@​Akvanvig](https://togithub.com/Akvanvig) made their first contribution in [https://github.com/kairos-io/kairos-agent/pull/282](https://togithub.com/kairos-io/kairos-agent/pull/282) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/kairos-io/kairos-agent/pull/276](https://togithub.com/kairos-io/kairos-agent/pull/276) **Full Changelog**: kairos-io/kairos-agent@v2.8.11...v2.9.1 ### [`v2.9.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.9.0) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.11...v2.9.0) #### What's Changed - Fix building under 1.19 by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/284](https://togithub.com/kairos-io/kairos-agent/pull/284) - Update dependency [@​fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free) to v6.5.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/285](https://togithub.com/kairos-io/kairos-agent/pull/285) - Update dependency alpinejs to v3.13.8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/286](https://togithub.com/kairos-io/kairos-agent/pull/286) - Enable debug mode from different places by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/287](https://togithub.com/kairos-io/kairos-agent/pull/287) - Keep logs after reset by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/288](https://togithub.com/kairos-io/kairos-agent/pull/288) **Full Changelog**: kairos-io/kairos-agent@v2.8.11...v2.9.0 ### [`v2.8.11`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.11) #### Changelog - [`0283b7b`](https://togithub.com/kairos-io/kairos-agent/commit/0283b7b) Enable debug mode from different places ([#​287](https://togithub.com/kairos-io/kairos-agent/issues/287)) - [`c9a7e98`](https://togithub.com/kairos-io/kairos-agent/commit/c9a7e98) Keep logs after reset ([#​288](https://togithub.com/kairos-io/kairos-agent/issues/288)) ### [`v2.8.9`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.9) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.8...v2.8.9) #### What's Changed - Bump sdk by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/269](https://togithub.com/kairos-io/kairos-agent/pull/269) - Return only image (skipping sbom, img, etc) by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/279](https://togithub.com/kairos-io/kairos-agent/pull/279) - Bump sdk by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/280](https://togithub.com/kairos-io/kairos-agent/pull/280) **Full Changelog**: kairos-io/kairos-agent@v2.8.8...v2.8.9 ### [`v2.8.8`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.8) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.7...v2.8.8) #### What's Changed - Bad refactoring, these should be active not cos by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/278](https://togithub.com/kairos-io/kairos-agent/pull/278) **Full Changelog**: kairos-io/kairos-agent@v2.8.7...v2.8.8 ### [`v2.8.7`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.7) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.6...v2.8.7) #### What's Changed - Fix bootentry by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/277](https://togithub.com/kairos-io/kairos-agent/pull/277) **Full Changelog**: kairos-io/kairos-agent@v2.8.6...v2.8.7 ### [`v2.8.6`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.6) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.5...v2.8.6) #### What's Changed - chore(deps): update codecov/codecov-action action to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/253](https://togithub.com/kairos-io/kairos-agent/pull/253) - chore(deps): update actions/setup-go action to v5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/252](https://togithub.com/kairos-io/kairos-agent/pull/252) - fix(deps): update dependency [@​fortawesome/fontawesome-free](https://togithub.com/fortawesome/fontawesome-free) to v6.5.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/210](https://togithub.com/kairos-io/kairos-agent/pull/210) - Bump to use vfs4 by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/240](https://togithub.com/kairos-io/kairos-agent/pull/240) - fix(deps): update xterm monorepo by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/115](https://togithub.com/kairos-io/kairos-agent/pull/115) - fix(deps): update github.com/mudler/go-processmanager digest to [`f204007`](https://togithub.com/kairos-io/kairos-agent/commit/f204007) by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/136](https://togithub.com/kairos-io/kairos-agent/pull/136) - fix(deps): update module github.com/urfave/cli/v2 to v2.27.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/255](https://togithub.com/kairos-io/kairos-agent/pull/255) - fix(deps): update module github.com/spf13/viper to v1.18.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/254](https://togithub.com/kairos-io/kairos-agent/pull/254) - fix(deps): update dependency alpinejs to v3.13.7 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/258](https://togithub.com/kairos-io/kairos-agent/pull/258) - fix(deps): update dependency bootstrap to v5.3.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/259](https://togithub.com/kairos-io/kairos-agent/pull/259) - Retry unlock if we cant find the unlocked partitions by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/241](https://togithub.com/kairos-io/kairos-agent/pull/241) - Fix chroot not opening and closing properly by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/261](https://togithub.com/kairos-io/kairos-agent/pull/261) - Add a scanner for config with nulllogger by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/262](https://togithub.com/kairos-io/kairos-agent/pull/262) - Converge all yaml libs into v3 by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/266](https://togithub.com/kairos-io/kairos-agent/pull/266) - Add an autoreset entry by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/267](https://togithub.com/kairos-io/kairos-agent/pull/267) **Full Changelog**: kairos-io/kairos-agent@v2.8.5...v2.8.6 ### [`v2.8.5`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.5) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.4...v2.8.5) #### What's Changed - After upgrade or recovery, set bootentry to "cos" by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/251](https://togithub.com/kairos-io/kairos-agent/pull/251) **Full Changelog**: kairos-io/kairos-agent@v2.8.4...v2.8.5 ### [`v2.8.4`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.4) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.3...v2.8.4) #### What's Changed - Mount efi partition if not mounted for bootentries by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/250](https://togithub.com/kairos-io/kairos-agent/pull/250) **Full Changelog**: kairos-io/kairos-agent@v2.8.3...v2.8.4 ### [`v2.8.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.3) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.2...v2.8.3) #### What's Changed - Fix bootentries grub in opensuse by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/249](https://togithub.com/kairos-io/kairos-agent/pull/249) **Full Changelog**: kairos-io/kairos-agent@v2.8.2...v2.8.3 ### [`v2.8.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.2) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.1...v2.8.2) #### What's Changed - Use existing role names for bootentry command on UKI by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/247](https://togithub.com/kairos-io/kairos-agent/pull/247) - Log errors in the kairos-agent log files by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/248](https://togithub.com/kairos-io/kairos-agent/pull/248) **Full Changelog**: kairos-io/kairos-agent@v2.8.1...v2.8.2 ### [`v2.8.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.1) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.8.0...v2.8.1) #### What's Changed - Run after reset hook when resetting in UKI mode by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/245](https://togithub.com/kairos-io/kairos-agent/pull/245) - Add a check for livemedia when running upgrade by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/242](https://togithub.com/kairos-io/kairos-agent/pull/242) **Full Changelog**: kairos-io/kairos-agent@v2.8.0...v2.8.1 ### [`v2.8.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.8.0) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.17...v2.8.0) #### What's Changed - Add UKI functionlity to replace titles by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/246](https://togithub.com/kairos-io/kairos-agent/pull/246) **Full Changelog**: kairos-io/kairos-agent@v2.7.17...v2.8.0 ### [`v2.7.17`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.17) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.16...v2.7.17) #### What's Changed - Try to print more info about the boott mode when loading the config by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/243](https://togithub.com/kairos-io/kairos-agent/pull/243) - Make sure kcrypt hook umounts persistent by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/244](https://togithub.com/kairos-io/kairos-agent/pull/244) **Full Changelog**: kairos-io/kairos-agent@v2.7.16...v2.7.17 ### [`v2.7.16`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.16) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.15...v2.7.16) #### What's Changed - Use new logger facilities by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/236](https://togithub.com/kairos-io/kairos-agent/pull/236) **Full Changelog**: kairos-io/kairos-agent@v2.7.15...v2.7.16 ### [`v2.7.15`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.15) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.14...v2.7.15) #### What's Changed - Bump SDK to 0.0.26 by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/238](https://togithub.com/kairos-io/kairos-agent/pull/238) **Full Changelog**: kairos-io/kairos-agent@v2.7.14...v2.7.15 ### [`v2.7.14`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.14) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.13...v2.7.14) #### What's Changed - fix(after-install): run after-install hook after partitions are encrypted by [@​mudler](https://togithub.com/mudler) in [https://github.com/kairos-io/kairos-agent/pull/237](https://togithub.com/kairos-io/kairos-agent/pull/237) **Full Changelog**: kairos-io/kairos-agent@v2.7.13...v2.7.14 ### [`v2.7.13`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.13) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.12...v2.7.13) #### What's Changed - Implement uki "kairos-agent upgrade --recovery" by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/231](https://togithub.com/kairos-io/kairos-agent/pull/231) - Move "recovery" to "active" on reset by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/232](https://togithub.com/kairos-io/kairos-agent/pull/232) - Add shim to choose next entry to boot from by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/230](https://togithub.com/kairos-io/kairos-agent/pull/230) **Full Changelog**: kairos-io/kairos-agent@v2.7.12...v2.7.13 ### [`v2.7.12`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.12) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.11...v2.7.12) #### What's Changed - 2226 detect boot state by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/229](https://togithub.com/kairos-io/kairos-agent/pull/229) **Full Changelog**: kairos-io/kairos-agent@v2.7.11...v2.7.12 ### [`v2.7.11`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.11) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.10...v2.7.11) #### What's Changed - fix(mount): check if path is mounted and create /run/initramfs/live if doesn't exist by [@​mudler](https://togithub.com/mudler) in [https://github.com/kairos-io/kairos-agent/pull/226](https://togithub.com/kairos-io/kairos-agent/pull/226) - fix: do not try to create a dir by [@​mudler](https://togithub.com/mudler) in [https://github.com/kairos-io/kairos-agent/pull/227](https://togithub.com/kairos-io/kairos-agent/pull/227) - Adapt uki install to new rootfsbase by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/228](https://togithub.com/kairos-io/kairos-agent/pull/228) **Full Changelog**: kairos-io/kairos-agent@v2.7.10...v2.7.11 ### [`v2.7.10`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.10) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.9...v2.7.10) #### What's Changed - Add default system config dir by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/223](https://togithub.com/kairos-io/kairos-agent/pull/223) - Bring uki install up to par with immucore by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/225](https://togithub.com/kairos-io/kairos-agent/pull/225) - Read /system/oem config by [@​mauromorales](https://togithub.com/mauromorales) in [https://github.com/kairos-io/kairos-agent/pull/224](https://togithub.com/kairos-io/kairos-agent/pull/224) **Full Changelog**: kairos-io/kairos-agent@v2.7.9...v2.7.10 ### [`v2.7.9`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.9) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.8...v2.7.9) #### What's Changed - Fix object dumping by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/222](https://togithub.com/kairos-io/kairos-agent/pull/222) **Full Changelog**: kairos-io/kairos-agent@v2.7.8...v2.7.9 ### [`v2.7.8`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.8) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.7...v2.7.8) #### What's Changed - Add reset for uki by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/221](https://togithub.com/kairos-io/kairos-agent/pull/221) **Full Changelog**: kairos-io/kairos-agent@v2.7.7...v2.7.8 ### [`v2.7.7`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.7) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.6...v2.7.7) #### What's Changed - Fix uki upgade path by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/219](https://togithub.com/kairos-io/kairos-agent/pull/219) - Remove the proper interactive-install entry by default by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/220](https://togithub.com/kairos-io/kairos-agent/pull/220) **Full Changelog**: kairos-io/kairos-agent@v2.7.6...v2.7.7 ### [`v2.7.6`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.6) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.5...v2.7.6) #### What's Changed - fix(deps): update dependency alpinejs to v3.13.5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/209](https://togithub.com/kairos-io/kairos-agent/pull/209) - \[interactive-install] Do not show devices that cant be used by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/212](https://togithub.com/kairos-io/kairos-agent/pull/212) - \[uki] Remove entries on install by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/213](https://togithub.com/kairos-io/kairos-agent/pull/213) - \[uki] Set proper partition size based on the source by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/214](https://togithub.com/kairos-io/kairos-agent/pull/214) - \[uki] Wait for oem to appear after encryption by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/216](https://togithub.com/kairos-io/kairos-agent/pull/216) **Full Changelog**: kairos-io/kairos-agent@v2.7.5...v2.7.6 ### [`v2.7.5`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.5) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.4...v2.7.5) #### What's Changed - fix(deps): update module github.com/distribution/distribution to v2.8.3+incompatible by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/191](https://togithub.com/kairos-io/kairos-agent/pull/191) - fix(deps): update module github.com/nxadm/tail to v1.4.11 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/194](https://togithub.com/kairos-io/kairos-agent/pull/194) - Bump kcrypt by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/208](https://togithub.com/kairos-io/kairos-agent/pull/208) **Full Changelog**: kairos-io/kairos-agent@v2.7.4...v2.7.5 ### [`v2.7.4`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.4) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.3...v2.7.4) #### What's Changed - feat(uki-partitioning-hook): respect additional encrypted partition list by [@​mudler](https://togithub.com/mudler) in [https://github.com/kairos-io/kairos-agent/pull/206](https://togithub.com/kairos-io/kairos-agent/pull/206) #### New Contributors - [@​mudler](https://togithub.com/mudler) made their first contribution in [https://github.com/kairos-io/kairos-agent/pull/206](https://togithub.com/kairos-io/kairos-agent/pull/206) **Full Changelog**: kairos-io/kairos-agent@v2.7.3...v2.7.4 ### [`v2.7.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.3) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.2...v2.7.3) #### What's Changed - Restore partitions config from cloudconfig by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/204](https://togithub.com/kairos-io/kairos-agent/pull/204) - Fix --source flag by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/205](https://togithub.com/kairos-io/kairos-agent/pull/205) - Fix device auto flag on uki by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/207](https://togithub.com/kairos-io/kairos-agent/pull/207) **Full Changelog**: kairos-io/kairos-agent@v2.7.2...v2.7.3 ### [`v2.7.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.2) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.1...v2.7.2) #### What's Changed - Add 1.19 go to test matrix by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/201](https://togithub.com/kairos-io/kairos-agent/pull/201) - reuse same base image across all targets by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/202](https://togithub.com/kairos-io/kairos-agent/pull/202) - Add workaround for secureboot ubuntu flavor by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/203](https://togithub.com/kairos-io/kairos-agent/pull/203) **Full Changelog**: kairos-io/kairos-agent@v2.7.1...v2.7.2 ### [`v2.7.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.1) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.7.0...v2.7.1) #### What's Changed - Remove cutSuffix as its go >=1.20 only by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/200](https://togithub.com/kairos-io/kairos-agent/pull/200) **Full Changelog**: kairos-io/kairos-agent@v2.7.0...v2.7.1 ### [`v2.7.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.7.0) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.3...v2.7.0) #### What's Changed - Copy grub+shim from the rootfs especific paths by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/189](https://togithub.com/kairos-io/kairos-agent/pull/189) **Full Changelog**: kairos-io/kairos-agent@v2.6.3...v2.7.0 ### [`v2.6.3`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.3) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.2...v2.6.3) #### Changelog - [`9a8c404`](https://togithub.com/kairos-io/kairos-agent/commit/9a8c404) Add "--all" flag to list-releases to print older releases too - [`53f4916`](https://togithub.com/kairos-io/kairos-agent/commit/53f4916) Fix uki mode detection ([#​198](https://togithub.com/kairos-io/kairos-agent/issues/198)) - [`174d69c`](https://togithub.com/kairos-io/kairos-agent/commit/174d69c) Merge uki upgrade into the normal upgrade command ([#​197](https://togithub.com/kairos-io/kairos-agent/issues/197)) - [`775756f`](https://togithub.com/kairos-io/kairos-agent/commit/775756f) Run install off the same command ([#​196](https://togithub.com/kairos-io/kairos-agent/issues/196)) ### [`v2.6.2`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.2) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.1...v2.6.2) Allow downgrading of k3s when upgrading at least Kairos version This is because we may cut an rc of Kairos that bumps k3s and then we decide that we don't want that in the stable release so we revert to the old k3s version. Users should see the newer version of Kairos, even though the k3s version is lower than the one in the rc. ### [`v2.6.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.1) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.6.0...v2.6.1) #### What's Changed - Update dependency alpinejs to v3.13.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/167](https://togithub.com/kairos-io/kairos-agent/pull/167) - Update module github.com/google/go-containerregistry to v0.17.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/116](https://togithub.com/kairos-io/kairos-agent/pull/116) - Update dependency codemirror to v5.65.16 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/190](https://togithub.com/kairos-io/kairos-agent/pull/190) - Update module github.com/labstack/echo/v4 to v4.11.4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/192](https://togithub.com/kairos-io/kairos-agent/pull/192) - Update module github.com/mudler/yip to v1.4.6 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/193](https://togithub.com/kairos-io/kairos-agent/pull/193) - Bump kairos-sdk by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/195](https://togithub.com/kairos-io/kairos-agent/pull/195) **Full Changelog**: kairos-io/kairos-agent@v2.6.0...v2.6.1 ### [`v2.6.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.6.0) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.5.1...v2.6.0) #### What's Changed - Encrypt uki partitions after install by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/176](https://togithub.com/kairos-io/kairos-agent/pull/176) - Update github.com/kairos-io/kcrypt digest to [`12a8d5d`](https://togithub.com/kairos-io/kairos-agent/commit/12a8d5d) by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/183](https://togithub.com/kairos-io/kairos-agent/pull/183) - Bump the kairos-sdk to get the latest changes regarding versioneer by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/184](https://togithub.com/kairos-io/kairos-agent/pull/184) - Update module github.com/kairos-io/kcrypt to v0.8.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/kairos-io/kairos-agent/pull/185](https://togithub.com/kairos-io/kairos-agent/pull/185) - Uki upgrade by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/182](https://togithub.com/kairos-io/kairos-agent/pull/182) - UKI improvements by [@​Itxaka](https://togithub.com/Itxaka) in [https://github.com/kairos-io/kairos-agent/pull/186](https://togithub.com/kairos-io/kairos-agent/pull/186) - Bump the kairos-sdk to use quoted os-release variables by [@​jimmykarily](https://togithub.com/jimmykarily) in [https://github.com/kairos-io/kairos-agent/pull/188](https://togithub.com/kairos-io/kairos-agent/pull/188) **Full Changelog**: kairos-io/kairos-agent@v2.5.0...v2.6.0 ### [`v2.5.1`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.5.1) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.5.0...v2.5.1) **Full Changelog**: kairos-io/kairos-agent@v2.5.0...v2.5.1 ### [`v2.5.0`](https://togithub.com/kairos-io/kairos-agent/releases/tag/v2.5.0) [Compare Source](https://togithub.com/kairos-io/kairos-agent/compare/v2.4.5...v2.5.0) #### Changelog - [`44d363f`](https://togithub.com/kairos-io/kairos-agent/commit/44d363f) Consume a tagged kairos-sdk version - [`00ce75b`](https://togithub.com/kairos-io/kairos-agent/commit/00ce75b) Deprecate positional argument and cleanup unused code - [`691224a`](https://togithub.com/kairos-io/kairos-agent/commit/691224a) Deprecate positional version in `kairos-agent upgrade` command - [`faedd0f`](https://togithub.com/kairos-io/kairos-agent/commit/faedd0f) Embed verioneer cli commands and fix duplicate command aliases - [`e6b3e50`](https://togithub.com/kairos-io/kairos-agent/commit/e6b3e50) Exit on install validation if target disk has mounted partitions ([#​180](https://togithub.com/kairos-io/kairos-agent/issues/180)) - [`8233435`](https://togithub.com/kairos-io/kairos-agent/commit/8233435) Fix "upgrade list-releases" command by consuming kairos-sdk versioneer - [`2412d69`](https://togithub.com/kairos-io/kairos-agent/commit/2412d69) Re-enable call-out to provider for releases - [`6783931`](https://togithub.com/kairos-io/kairos-agent/commit/6783931) go mod tidy </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am every weekday,every weekend" in timezone Europe/Brussels, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kairos-io/provider-kairos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzAxLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> --------- Signed-off-by: Mauro Morales <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ubuntu <[email protected]>
Fixes kairos-io/kairos#2281