mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-02 11:37:07 +00:00
Add test case for openbmc rspconfig command #2912
This commit is contained in:
parent
1aa7a97236
commit
983c6a9229
@ -88,9 +88,9 @@ function change_netmask {
|
||||
BMCIP=""
|
||||
BMCNETWORK=""
|
||||
BMCGATEWAY=""
|
||||
BMCIP=`rspconfig frame45cn07 ip |awk -F":" '{print $3}'`
|
||||
BMCGATEWAYE=`rspconfig frame45cn07 gateway |awk -F":" '{print $3}'`
|
||||
BMCNETMASK=`rspconfig frame45cn07 netmask |awk -F":" '{print $3}'`
|
||||
BMCIP=`rspconfig $2 ip |awk -F":" '{print $3}'`
|
||||
BMCGATEWAYE=`rspconfig $2 gateway |awk -F":" '{print $3}'`
|
||||
BMCNETMASK=`rspconfig $2 netmask |awk -F":" '{print $3}'`
|
||||
while [ "$#" -gt "0" ]
|
||||
do
|
||||
case $1 in
|
||||
|
Loading…
x
Reference in New Issue
Block a user