From 0268837f5c2b9fbfc24f133369194ec2b64f72b1 Mon Sep 17 00:00:00 2001 From: Maho Takara Date: Tue, 15 Aug 2023 08:59:42 +0900 Subject: [PATCH] Disable path through iDRAC I/F (#93) * Bump version to 1.14.2 * disable pass through I/F --- CHANGELOG.md | 6 +++++- pkg/setup-hw/dell.go | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2800f0..a442f28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [1.14.2] - 2023-07-24 +- Update dependencies in [#92](https://github.com/cybozu-go/setup-hw/pull/92) + - Add ubuntu package curl, Ubuntu22.04 base image does not have curl package ## [1.14.1] - 2023-07-20 - Update dependencies in [#90](https://github.com/cybozu-go/setup-hw/pull/90) @@ -193,7 +196,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added - Support Redfish version 1.2.0 and 1.4.0 ([#12](https://github.com/cybozu-go/setup-hw/pull/12)) -[Unreleased]: https://github.com/cybozu-go/setup-hw/compare/v1.14.1...HEAD +[Unreleased]: https://github.com/cybozu-go/setup-hw/compare/v1.14.2...HEAD +[1.14.2]: https://github.com/cybozu-go/setup-hw/compare/v1.14.1...v1.14.2 [1.14.1]: https://github.com/cybozu-go/setup-hw/compare/v1.14.0...v1.14.1 [1.14.0]: https://github.com/cybozu-go/setup-hw/compare/v1.13.2...v1.14.0 [1.13.2]: https://github.com/cybozu-go/setup-hw/compare/v1.13.1...v1.13.2 diff --git a/pkg/setup-hw/dell.go b/pkg/setup-hw/dell.go index a36c814..c7359f1 100644 --- a/pkg/setup-hw/dell.go +++ b/pkg/setup-hw/dell.go @@ -504,6 +504,10 @@ func (dc *dellConfigurator) configNIC(ctx context.Context) error { if _, err := racadmSetConfig(ctx, "iDRAC.NIC.DNSRacName", hname+"-idrac"); err != nil { return err } + if _, err := racadmSetConfig(ctx, "iDRAC.OS-BMC.AdminState", "Disabled"); err != nil { + return err + } + return nil }