From a5b58bcae05c77e6fb36e738a09d343daf76efda Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 20 Nov 2023 12:20:40 +0100 Subject: Adding upstream version 20231120. Signed-off-by: Daniel Baumann --- supermicro/bin/supermicro-ipmi-reset | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'supermicro/bin/supermicro-ipmi-reset') 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 -- cgit v1.2.3