Skip to content

Commit

Permalink
Use Overwrites for a payload cloud config (#320)
Browse files Browse the repository at this point in the history
Relates to kairos-io/kairos#2492

Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed May 14, 2024
1 parent 9528840 commit 14af54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/agent/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func Install(sourceImgURL string, dir ...string) error {
cloudConfig, exists := r["cc"]
if exists {
// Re-read the full config and add the config coming from the event
cc, _ = config.Scan(collector.Directories(dir...), collector.Readers(strings.NewReader(cloudConfig)), collector.MergeBootLine, collector.NoLogs)
cc, _ = config.Scan(collector.Directories(dir...), collector.Overwrites(cloudConfig), collector.MergeBootLine, collector.NoLogs)
}
})

Expand Down

0 comments on commit 14af54c

Please sign in to comment.