mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-06-03 01:44:53 +00:00
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:
parent
2b0adaeb9b
commit
8ed0ce3d58
@ -184,7 +184,7 @@ E.g. kairos-agent install-bundle container:quay.io/kairos/kairos...
|
|||||||
{
|
{
|
||||||
Name: "state",
|
Name: "state",
|
||||||
Usage: "get machine 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"},
|
Aliases: []string{"s"},
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
runtime, err := state.NewRuntime()
|
runtime, err := state.NewRuntime()
|
||||||
@ -199,7 +199,7 @@ E.g. kairos-agent install-bundle container:quay.io/kairos/kairos...
|
|||||||
{
|
{
|
||||||
Name: "apply",
|
Name: "apply",
|
||||||
Usage: "Applies a machine state",
|
Usage: "Applies a machine state",
|
||||||
Description: "Set runtime machine configuration",
|
Description: "Applies machine configuration in runtimes",
|
||||||
Aliases: []string{"a"},
|
Aliases: []string{"a"},
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
// TODO
|
// TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user