mirror of
https://github.com/rancher/os.git
synced 2025-09-08 02:01:27 +00:00
Load hv_storvsc for hyperv
Loading the disks via this module before "b2d env" process
This commit is contained in:
@@ -26,7 +26,7 @@ func LoadModules(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if util.GetHypervisor() == "hyperv" {
|
if util.GetHypervisor() == "hyperv" {
|
||||||
cfg.Rancher.Modules = append(cfg.Rancher.Modules, "hv_utils")
|
cfg.Rancher.Modules = append(cfg.Rancher.Modules, "hv_utils", "hv_storvsc")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, module := range cfg.Rancher.Modules {
|
for _, module := range cfg.Rancher.Modules {
|
||||||
|
Reference in New Issue
Block a user