summaryrefslogtreecommitdiffstats
path: root/supermicro
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-09-20 15:01:17 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2023-09-20 15:01:17 +0000
commita7b2b6f5b1730507961214083c1462913080d2a5 (patch)
tree8050f6740169c6cdaac5a879d373726fa58aa8b2 /supermicro
parentReleasing version 20221228. (diff)
downloadservice-tools-a7b2b6f5b1730507961214083c1462913080d2a5.tar.xz
service-tools-a7b2b6f5b1730507961214083c1462913080d2a5.zip
Setting protocol version in supermicro-ipmi-reset, thanks to Sakirnth Nagarasa <sakirnth@debian.org>.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xsupermicro/bin/supermicro-ipmi-reset3
1 files changed, 3 insertions, 0 deletions
diff --git a/supermicro/bin/supermicro-ipmi-reset b/supermicro/bin/supermicro-ipmi-reset
index 6b6e11a..e0f00d1 100755
--- a/supermicro/bin/supermicro-ipmi-reset
+++ b/supermicro/bin/supermicro-ipmi-reset
@@ -16,6 +16,9 @@ fi
echo "${PROGRAM}: resetting ipmi to factory defaults (including users and lan)"
ipmicfg -fdl -d
+echo "${PROGRAM}: change to protocol to dual-stack"
+ipmicfg -addrptl 3
+
echo "${PROGRAM}: disabling ipv4 dhcp for ipv6-only configuration"
ipmicfg -dhcp off