diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-20 11:20:40 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-11-20 11:20:40 +0000 |
commit | a5b58bcae05c77e6fb36e738a09d343daf76efda (patch) | |
tree | 16fc49864a2483988fd6e150521e28c4a8fa1297 /supermicro | |
parent | Adding upstream version 20221228. (diff) | |
download | open-infrastructure-service-tools-a5b58bcae05c77e6fb36e738a09d343daf76efda.tar.xz open-infrastructure-service-tools-a5b58bcae05c77e6fb36e738a09d343daf76efda.zip |
Adding upstream version 20231120.upstream/20231120
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | supermicro/Makefile | 2 | ||||
-rwxr-xr-x | supermicro/bin/supermicro-ipmi-reset | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/supermicro/Makefile b/supermicro/Makefile index 6b3744b..49377eb 100644 --- a/supermicro/Makefile +++ b/supermicro/Makefile @@ -1,6 +1,6 @@ # Open Infrastructure: service-tools -# Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net> +# Copyright (C) 2014-2023 Daniel Baumann <daniel.baumann@open-infrastructure.net> # # SPDX-License-Identifier: GPL-3.0+ # diff --git a/supermicro/bin/supermicro-ipmi-reset b/supermicro/bin/supermicro-ipmi-reset index 6b6e11a..8bd92f6 100755 --- a/supermicro/bin/supermicro-ipmi-reset +++ b/supermicro/bin/supermicro-ipmi-reset @@ -16,12 +16,18 @@ fi echo "${PROGRAM}: resetting ipmi to factory defaults (including users and lan)" ipmicfg -fdl -d -echo "${PROGRAM}: disabling ipv4 dhcp for ipv6-only configuration" -ipmicfg -dhcp off +echo "${PROGRAM}: change to protocol to dual-stack" +ipmicfg -addrptl 3 echo "${PROGRAM}: configuring ipmi to ${ADDRESS}" ipmicfg -ipv6 add 1 "${ADDRESS}" 64 +echo "${PROGRAM}: disabling ipv4 dhcp for ipv6-only configuration" +ipmicfg -dhcp off + +echo "${PROGRAM}: clearing ipv4 address for ipv6-only configuration" +ipmicfg -m 0.0.0.0 + echo "${PROGRAM}: rebooting ipmi" ipmicfg -r -d |