1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 07:30:42 +00:00

Various fixes

This commit is contained in:
Darren Shepherd
2021-10-22 23:22:09 -07:00
parent 06fc7fc32e
commit b00581c2d7
14 changed files with 189 additions and 103 deletions

View File

@@ -55,7 +55,13 @@ func runInstall(cfg config.Config, output string) error {
}
if cfg.RancherOS.Install.ConfigURL == "" && !cfg.RancherOS.Install.Silent {
yip := config.YipConfig{}
yip := config.YipConfig{
Rancherd: config.Rancherd{
Server: cfg.RancherOS.Install.ServerURL,
Token: cfg.RancherOS.Install.Token,
Role: cfg.RancherOS.Install.Role,
},
}
if cfg.RancherOS.Install.Password != "" || len(cfg.SSHAuthorizedKeys) > 0 {
yip.Stages = map[string][]config.Stage{
"network": {{