mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Changed default scsi controller type
This commit is contained in:
parent
809d259d68
commit
e9e5f87d65
@ -275,7 +275,7 @@ func readInstance(client *govmomi.Client, cfg *VSphereConfig) (string, string, e
|
|||||||
|
|
||||||
func newVSphere(cfg VSphereConfig) (*VSphere, error) {
|
func newVSphere(cfg VSphereConfig) (*VSphere, error) {
|
||||||
if cfg.Disk.SCSIControllerType == "" {
|
if cfg.Disk.SCSIControllerType == "" {
|
||||||
cfg.Disk.SCSIControllerType = LSILogicSASControllerType
|
cfg.Disk.SCSIControllerType = PVSCSIControllerType
|
||||||
} else if !checkControllerSupported(cfg.Disk.SCSIControllerType) {
|
} else if !checkControllerSupported(cfg.Disk.SCSIControllerType) {
|
||||||
glog.Errorf("%v is not a supported SCSI Controller type. Please configure 'lsilogic-sas' OR 'pvscsi'", cfg.Disk.SCSIControllerType)
|
glog.Errorf("%v is not a supported SCSI Controller type. Please configure 'lsilogic-sas' OR 'pvscsi'", cfg.Disk.SCSIControllerType)
|
||||||
return nil, errors.New("Controller type not supported. Please configure 'lsilogic-sas' OR 'pvscsi'")
|
return nil, errors.New("Controller type not supported. Please configure 'lsilogic-sas' OR 'pvscsi'")
|
||||||
|
Loading…
Reference in New Issue
Block a user