changes for defect 3758 git patch

This commit is contained in:
lissav 2013-08-26 11:08:06 -04:00
parent b2f511f4df
commit 1fc54f6bdc
3 changed files with 31 additions and 2 deletions

View File

@ -11,6 +11,10 @@ B<rbootseq> [B<-h>|B<--help>|B<-v>|B<--version>]
B<rbootseq> I<noderange> {B<hd0>|B<hd1>|B<hd2>|B<hd3>|B<net>|B<iscsi>|B<iscsicrit>|B<cdrom>|B<usbflash>|B<floppy>|B<none>|B<list>|B<stat>}B<,>I<...>
=head2 HP Blade specific:
B<rbootseq> I<noderange> {B<hd>|B<net1>|B<net2>|B<net3>|B<net4>|B<cdrom>|B<usbflash>|B<floppy>|B<none>}B<,>I<...>
=head2 PPC (using Direct FSP Management) specific:
B<rbootseq> I<noderange> B<[hfi|net]>
@ -52,6 +56,22 @@ The fourth hard disk.
Boot over the ethernet network, using a PXE or BOOTP broadcast.
=item B<n>|B<net>|B<network>|B<net1>|B<nic1> (HP Blade Only)
Boot over the first ethernet network, using a PXE or BOOTP broadcast.
=item B<net2>|B<nic2> (HP Blade Only)
Boot over the second ethernet network, using a PXE or BOOTP broadcast.
=item B<net3>|B<nic3> (HP Blade Only)
Boot over the third ethernet network, using a PXE or BOOTP broadcast.
=item B<net3>|B<nic3> (HP Blade Only)
Boot over the fourth ethernet network, using a PXE or BOOTP broadcast.
=item B<hfi>
Boot p775 nodes over the HFI network, using BOOTP broadcast.
@ -68,7 +88,7 @@ Boot to an iSCSI disk over the network.
The CD or DVD drive.
=item B<usbflas>|B<usb>|B<flash>
=item B<usbflash>|B<usb>|B<flash>
A USB flash drive.

View File

@ -90,21 +90,30 @@ my %bootnumbers = (
'f' => 2,
'floppy' => 2,
'usb' => 3,
'usbflash' => 3,
'flash' => 3,
'h' => 4,
'hd' => 4,
'hdd' => 4,
'hd0' => 4,
'harddisk' => 4,
'eth0' => 5,
'nic1' => 5,
'net1' => 5,
'net' => 5,
'n' => 5,
'pxe_nic1' => 5,
'eth1' => 6,
'nic2' => 6,
'net2' => 6,
'pxe_nic2' => 6,
'eth2' => 7,
'nic3' => 7,
'net3' => 7,
'pxe_nic3' => 7,
'eth3' => 8,
'nic4' => 8,
'net4' => 8,
'pxe_nic4' => 8
);

View File

@ -109,7 +109,7 @@ until ($mm and $username and $slot) {
}
release_lock(); #done with xcatd, can run with near impunity
$sleepint=10+int(rand(30)); #Stagger sleep to take it easy on AMM/hosting server
exec "ssh -t $username"."@"."$mm";
exec "ssh -t $username"."@"."$mm vsp";
my $pathtochild= dirname($scriptname). "/";
#exec $pathtochild."hpblade.expect";