From 5b0d4c3701dceb38f544e8f6e6460f36d926fe8d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 26 Nov 2007 15:43:17 +0000 Subject: [PATCH] Switch to using ssh for the blade SOL console git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@71 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/usr/share/xcat/cons/blade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/usr/share/xcat/cons/blade b/xCAT-server-2.0/usr/share/xcat/cons/blade index 64cc8131e..609c33293 100755 --- a/xCAT-server-2.0/usr/share/xcat/cons/blade +++ b/xCAT-server-2.0/usr/share/xcat/cons/blade @@ -37,8 +37,10 @@ if ($mpatab) { if ($dba->{password}) { $password = $dba->password; } } } -my $pathtochild= dirname($scriptname). "/"; -exec $pathtochild."blade.expect $mm $slot $username $password"; +sleep 5; +exec "ssh -t $username"."@"."$mm console -o -T blade[$slot]"; +#my $pathtochild= dirname($scriptname). "/"; +#exec $pathtochild."blade.expect $mm $slot $username $password";