mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-07-13 16:04:13 +00:00
Remove the proper interactive-install entry by default (#220)
This commit is contained in:
parent
9941c786a3
commit
0897a79c25
@ -115,7 +115,7 @@ const (
|
||||
)
|
||||
|
||||
func UkiDefaultSkipEntries() []string {
|
||||
return []string{"interactive-install", "manual-install"}
|
||||
return []string{"interactive-install", "install-mode-interactive"}
|
||||
}
|
||||
|
||||
func GetCloudInitPaths() []string {
|
||||
|
@ -139,6 +139,7 @@ func (i *InstallAction) Run() (err error) {
|
||||
|
||||
// Remove entries
|
||||
// Read all confs
|
||||
i.cfg.Logger.Debugf("Checking for entries to remove")
|
||||
err = fsutils.WalkDirFs(i.cfg.Fs, filepath.Join(i.spec.Partitions.EFI.MountPoint, "loader/entries/"), func(path string, info os.DirEntry, err error) error {
|
||||
i.cfg.Logger.Debugf("Checking file %s", path)
|
||||
if info.IsDir() {
|
||||
|
Loading…
Reference in New Issue
Block a user