Skip to content

Commit

Permalink
Properly update AdditionalFiles in isomaker (#309)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Schmitt <[email protected]>
  • Loading branch information
schmittjoseph and schmittjoseph authored Oct 30, 2020
1 parent a27ee36 commit 5bc8fa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolkit/tools/isomaker/maker.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ func (im *IsoMaker) copyAndRenameConfigFiles() {
func (im *IsoMaker) copyAndRenameAdditionalFiles(configFilesAbsDirPath string) {
const additionalFilesSubDirName = "additionalfiles"

for _, systemConfig := range im.config.SystemConfigs {
for i := range im.config.SystemConfigs {
systemConfig := &im.config.SystemConfigs[i]

absAdditionalFiles := make(map[string]string)
for localAbsFilePath, installedSystemAbsFilePath := range systemConfig.AdditionalFiles {
isoRelativeFilePath := im.copyFileToConfigRoot(configFilesAbsDirPath, additionalFilesSubDirName, localAbsFilePath)
Expand Down

0 comments on commit 5bc8fa1

Please sign in to comment.