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

Added cloudinitsave case for proxmox

This commit is contained in:
etrexel
2019-12-19 02:15:23 -08:00
committed by niusmallnan
parent 8ad6b10446
commit 67599f352c
4 changed files with 18 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ func CloudInit(cfg *config.CloudConfig) (*config.CloudConfig, error) {
log.Error(err)
}
if proxmox {
cfg.Rancher.CloudInit.Datasources = append([]string{"proxmox"}, cfg.Rancher.CloutInit.Datasources...)
cfg.Rancher.CloudInit.Datasources = append([]string{"proxmox"}, cfg.Rancher.CloudInit.Datasources...)
}
if len(cfg.Rancher.CloudInit.Datasources) == 0 {