From bb73b8164cf4b30a7eda34b03a9047a61eda9cc8 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 8 Sep 2022 15:39:26 +0200 Subject: [PATCH] sparkles: Boot options (#91) * :sparkles: Add grub_options to config Split post-install into hooks * :robot: Adapt test to latest releases --- pkg/config/config.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index c2f91ab..0858be0 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -18,10 +18,11 @@ import ( ) type Install struct { - Auto bool `yaml:"auto,omitempty"` - Reboot bool `yaml:"reboot,omitempty"` - Device string `yaml:"device,omitempty"` - Poweroff bool `yaml:"poweroff,omitempty"` + Auto bool `yaml:"auto,omitempty"` + Reboot bool `yaml:"reboot,omitempty"` + Device string `yaml:"device,omitempty"` + Poweroff bool `yaml:"poweroff,omitempty"` + GrubOptions map[string]string `yaml:"grub_options,omitempty"` } type Config struct {