added offline mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -277,6 +277,8 @@ sub setdestiny { | ||||
|                                    initrd => "xcat/nbfs.$arch.gz", | ||||
|                                    kcmdline => $kcmdline."xcatd=$master:$xcatdport"}); | ||||
|     } | ||||
| 	}elsif ($state eq "offline"){ | ||||
| 		1; | ||||
|   } elsif (!($state eq "boot")) {  | ||||
|       $callback->({error=>["Unknown state $state requested"],errorcode=>[1]}); | ||||
|       return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user