We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e71f74 commit 0a15b17Copy full SHA for 0a15b17
pkg/asset/agent/image/agentimage.go
@@ -125,6 +125,10 @@ func (a *AgentImage) updateIgnitionContent(agentArtifacts *AgentArtifacts) error
125
return err
126
}
127
128
+ return a.overwriteFileData(fileInfo)
129
+}
130
+
131
+func (a *AgentImage) overwriteFileData(fileInfo []isoeditor.FileData) error {
132
for _, fileData := range fileInfo {
133
filename := filepath.Join(a.tmpPath, fileData.Filename)
134
file, err := os.Create(filename)
0 commit comments