Skip to content

Commit 66307fe

Browse files
Merge pull request #911 from Hellcatlk/alternate
Disable raid feature for iRMC server
2 parents f5228fa + eef54da commit 66307fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/bmc/irmc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (a *iRMCAccessDetails) PowerInterface() string {
8383
}
8484

8585
func (a *iRMCAccessDetails) RAIDInterface() string {
86-
return "irmc"
86+
return "no-raid"
8787
}
8888

8989
func (a *iRMCAccessDetails) VendorInterface() string {

pkg/provisioner/ironic/prepare_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func TestPrepare(t *testing.T) {
158158
host.Status.Provisioning.ID = nodeUUID
159159
prepData := provisioner.PrepareData{}
160160
if tc.existRaidConfig {
161-
host.Spec.BMC.Address = "irmc://test.bmc/"
161+
host.Spec.BMC.Address = "idrac://test.bmc/"
162162
prepData.RAIDConfig = &metal3v1alpha1.RAIDConfig{
163163
HardwareRAIDVolumes: []metal3v1alpha1.HardwareRAIDVolume{
164164
{

0 commit comments

Comments
 (0)