fix env render with app images (#5079)

This commit is contained in:
Jiahui
2024-09-18 16:54:07 +08:00
committed by GitHub
parent 6507e5379e
commit 0f6d5cdd7f
+1 -1
View File
@@ -153,7 +153,7 @@ func (f *defaultRootfs) mountRootfs(cluster *v2.Cluster, ipList []string) error
return err
}
renderCommand := getRenderCommand(pathResolver.RootFSSealctlPath(), targetDir)
return execer.CmdAsync(master0, envProcessor.WrapShell(master0, renderCommand))
return execer.CmdAsync(master0, stringsutil.RenderShellWithEnv(renderCommand, mountInfo.Env))
}
return nil
})