fix for bug 4142: add vios as a new device type
This commit is contained in:
parent
a582549916
commit
5399ef9258
@ -810,6 +810,10 @@ sub senddeviceskeys
|
||||
# add to the command
|
||||
$setupcmd .=$key;
|
||||
$setupcmd .="\"";
|
||||
# Special case for vios
|
||||
if ($ENV{DEVICETYPE} eq 'vios') {
|
||||
$setupcmd = "\"echo $key | tee -a ~/.ssh/authorized_keys2\"";
|
||||
}
|
||||
# For each input device
|
||||
my @nodelist=split(/,/,$nodes);
|
||||
foreach my $node (@nodelist) {
|
||||
|
5
xCAT-server/share/xcat/devicetype/vios/config
Normal file
5
xCAT-server/share/xcat/devicetype/vios/config
Normal file
@ -0,0 +1,5 @@
|
||||
[main]
|
||||
ssh-setup-command=echo
|
||||
[xdsh]
|
||||
pre-command=NULL
|
||||
post-command=NULL
|
Loading…
Reference in New Issue
Block a user