1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 02:31:36 +00:00

Include Harvester changes

This commit is contained in:
Darren Shepherd
2021-10-02 22:27:31 -07:00
parent 3040e886dc
commit 5e4cfa19ab
15 changed files with 169 additions and 108 deletions

View File

@@ -6,10 +6,10 @@ import (
)
func PrintInstall(cfg Config) ([]byte, error) {
if cfg.Elemental.Install.Password != "" {
cfg.Elemental.Install.Password = "******"
if cfg.Rancher.Install.Password != "" {
cfg.Rancher.Install.Password = "******"
}
data, err := convert.EncodeToMap(cfg.Elemental.Install)
data, err := convert.EncodeToMap(cfg.Rancher.Install)
if err != nil {
return nil, err
}