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

Add ipxe support

This commit is contained in:
Darren Shepherd
2021-10-13 16:00:29 -07:00
parent b4cc0014b2
commit 0e46d19194
16 changed files with 287 additions and 126 deletions

View File

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