Properly update AdditionalFiles in isomaker (#309)
Co-authored-by: Joe Schmitt <joschmit@microsoft.com>
This commit is contained in:
Родитель
a27ee369fa
Коммит
5bc8fa1c8f
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче