mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-16 22:50:47 +00:00
sparkles: Add bundles to post-install hooks (#171)
* 🤖 Add bundles and sysext test * ✨ Exec bundles also after install * 🤖 Adapt tests * 🎨 Create dir only if doesn't exist * 🎨 Return err on mount * 🎨 Make bundle errors failure as an option * 🎨 Minor fixups * debug * 🤖 Fix spec * 🤖 Get correct version for bundle test * 🎨 Fixups * 🤖 systemd-sysext is available only on opensuse for now
This commit is contained in:
committed by
Itxaka
parent
b1396c541b
commit
a8875f6b4f
@@ -11,7 +11,8 @@ type Interface interface {
|
||||
var All = []Interface{
|
||||
&RunStage{}, // Shells out to stages defined from the container image
|
||||
&GrubOptions{}, // Set custom GRUB options
|
||||
&Lifecycle{}, // Handles poweroff/reboot by config options
|
||||
&BundleOption{},
|
||||
&Lifecycle{}, // Handles poweroff/reboot by config options
|
||||
}
|
||||
|
||||
func Run(c config.Config, hooks ...Interface) error {
|
||||
|
Reference in New Issue
Block a user