-Add floppy parameter to rsetboot command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -43,7 +43,7 @@ my %usage = ( | ||||
|     PPC specific: | ||||
|        rinv <noderange> [bus|config|serial|model|firm|all]", | ||||
|     "rsetboot" =>  | ||||
| "Usage: rsetboot <noderange> [net|hd|cd|def|stat] [-V|--verbose] | ||||
| "Usage: rsetboot <noderange> [net|hd|cd|floppy|def|stat] [-V|--verbose] | ||||
|        rsetboot [-h|--help|-v|--version]", | ||||
|     "rbootseq" =>  | ||||
| "Usage: rbootseq <noderange> [hd0|hd1|hd2|hd3|net|iscsi|usbflash|floppy|none],... | ||||
|   | ||||
| @@ -1162,6 +1162,7 @@ sub setboot { | ||||
|         2 => 'Hard Drive', | ||||
|         5 => 'CD/DVD', | ||||
|         6 => 'BIOS Setup', | ||||
|         15 => 'Floppy' | ||||
|     ); | ||||
|  | ||||
|     #This disables the 60 second timer | ||||
| @@ -1179,6 +1180,9 @@ sub setboot { | ||||
|     elsif ($subcommand eq "cd" ) { | ||||
|         @cmd=(0x08,0x5,0x80,0x14,0x0,0x0,0x0); | ||||
|     } | ||||
|     elsif ($subcommand eq "floppy" ) { | ||||
|         @cmd=(0x08,0x5,0x80,0x3c,0x0,0x0,0x0); | ||||
|     } | ||||
|     elsif ($subcommand =~ m/^def/) { | ||||
|         @cmd=(0x08,0x5,0x0,0x0,0x0,0x0,0x0); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user