From 662dc2a6dec2a8f907b180282c0b4cdb232c5484 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 29 Jun 2017 15:43:40 -0400 Subject: [PATCH] Copy ssh keys to BMC with rspconfig command --- .../references/man1/rspconfig.1.rst | 11 +++- xCAT-client/pods/man1/rspconfig.1.pod | 9 ++- xCAT-server/lib/xcat/plugins/openbmc.pm | 66 +++++++++++++++++++ 3 files changed, 80 insertions(+), 6 deletions(-) diff --git a/docs/source/guides/admin-guides/references/man1/rspconfig.1.rst b/docs/source/guides/admin-guides/references/man1/rspconfig.1.rst index c2165234b..c2a4d365c 100644 --- a/docs/source/guides/admin-guides/references/man1/rspconfig.1.rst +++ b/docs/source/guides/admin-guides/references/man1/rspconfig.1.rst @@ -47,7 +47,7 @@ OpenBMC specific: ================= -\ **rspconfig**\ \ *noderange*\ {\ **ip | netmask | gateway | vlan**\ } +\ **rspconfig**\ \ *noderange*\ {\ **ip | netmask | gateway | vlan | sshcfg**\ } MPA specific: @@ -251,8 +251,7 @@ DESCRIPTION *********** -\ **rspconfig**\ configures various settings in the nodes' service processors. If only a keyword is -specified, without the \ **=**\ , it displays the current value. +\ **rspconfig**\ configures various settings in the nodes' service processors. For options \ **autopower | iocap | decfg | memdecfg | procdecfg | time | date | spdump | sysdump | network**\ , user need to use \ *chdef -t site enableASMI=yes*\ to enable ASMI first. @@ -526,6 +525,12 @@ OPTIONS +\ **sshcfg**\ + + Copy SSH keys. + + + \ **swnet**\ ={[\ *ip*\ ],[\ *gateway*\ ],[\ *netmask*\ ]} Set the Switch network parameters. diff --git a/xCAT-client/pods/man1/rspconfig.1.pod b/xCAT-client/pods/man1/rspconfig.1.pod index aba5fcd5a..972aa649b 100644 --- a/xCAT-client/pods/man1/rspconfig.1.pod +++ b/xCAT-client/pods/man1/rspconfig.1.pod @@ -24,7 +24,7 @@ B I B=I