From 33050ac0bf01195f15f05c7eede21f96b33b1183 Mon Sep 17 00:00:00 2001 From: vallard Date: Thu, 28 Jan 2010 07:01:08 +0000 Subject: [PATCH] added offline mode git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/destiny.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index 4c1cc43c1..3d735a601 100644 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -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;