Skip to content

Commit 2044aa3

Browse files
authored
Merge pull request #179 from chu11/default_perms
etd/devices: set default Cray EX authentication
2 parents a403f61 + c83f19e commit 2044aa3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

etc/devices/redfishpower-cray-ex-rabbit.dev

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
# storage hardware. Refer to cray-ex for info specific to that
33
# chassis.
44
#
5-
# - Set your system's username/password in the login section of
6-
# each specification below.
5+
# - If necessary, set your system's username/password in the login
6+
# section of each specification below. By default, a manufacturer
7+
# default is set below.
78
#
89
# - Assuming all blades are populated with nodes, switch slots 0-3 are
910
# populated with switches, and switch slots 4 & 7 are populated by a
@@ -72,7 +73,7 @@ specification "cray-ex-rabbit" {
7273

7374
script login {
7475
expect "redfishpower> "
75-
send "auth USER:PASS\n"
76+
send "auth operator:initial0_op\n"
7677
expect "redfishpower> "
7778
send "setheader Content-Type:application/json\n"
7879
expect "redfishpower> "

etc/devices/redfishpower-cray-ex.dev

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
# section "UPDATING REDFISHPOWER DEVICE FILES" in redfishpower(8) for
77
# additional tips.
88
#
9-
# - Set your system's username/password in the login section of
10-
# each specification below.
9+
# - If necessary, set your system's username/password in the login
10+
# section of each specification below. By default, a manufacturer
11+
# default is set below.
1112
#
1213
# - Assuming all blades are populated with nodes and all switches are
1314
# populated, configure in Powerman like below.
@@ -69,7 +70,7 @@ specification "cray-ex" {
6970

7071
script login {
7172
expect "redfishpower> "
72-
send "auth USER:PASS\n"
73+
send "auth operator:initial0_op\n"
7374
expect "redfishpower> "
7475
send "setheader Content-Type:application/json\n"
7576
expect "redfishpower> "

0 commit comments

Comments
 (0)