sparkles: enhancements (#263)

* 🎨 Do not need to prefix '.' on queries

*  Add recovery to stateapi

*  Add cloudconfig SDK

*  Unify post-install/firstboot hooks

This also adds capabilities to add grub option at first boot rather than
after installation as for bundles.

* 🤖 Optimize tests to wait for state to change
This commit is contained in:
Ettore Di Giacinto 2022-10-24 08:34:49 +02:00 committed by Itxaka
parent 2b0adaeb9b
commit 8ed0ce3d58

View File

@ -184,7 +184,7 @@ E.g. kairos-agent install-bundle container:quay.io/kairos/kairos...
{
Name: "state",
Usage: "get machine state",
Description: "Print machine state information, e.g. `state get .uuid` returns the machine uuid",
Description: "Print machine state information, e.g. `state get uuid` returns the machine uuid",
Aliases: []string{"s"},
Action: func(c *cli.Context) error {
runtime, err := state.NewRuntime()
@ -199,7 +199,7 @@ E.g. kairos-agent install-bundle container:quay.io/kairos/kairos...
{
Name: "apply",
Usage: "Applies a machine state",
Description: "Set runtime machine configuration",
Description: "Applies machine configuration in runtimes",
Aliases: []string{"a"},
Action: func(c *cli.Context) error {
// TODO