From 98f97a3b3f7018ed5d675a90cc78cfe1dcf9c6b6 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 11 Apr 2011 02:23:32 +0000 Subject: [PATCH] create stateless and statelite image for linux git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/nodes/physical.js | 21 +- xCAT-UI/js/provision/images.js | 438 +++++++++++++++------------------ 2 files changed, 208 insertions(+), 251 deletions(-) diff --git a/xCAT-UI/js/nodes/physical.js b/xCAT-UI/js/nodes/physical.js index 35170a6c5..7869a73e5 100644 --- a/xCAT-UI/js/nodes/physical.js +++ b/xCAT-UI/js/nodes/physical.js @@ -706,7 +706,8 @@ function statusMap(status){ case 'ready': case 'pbs': case 'sshd': - case 'booting':{ + case 'booting': + case 'ping':{ color = 'green'; } break; @@ -715,10 +716,6 @@ function statusMap(status){ color = 'red'; } break; - case 'ping':{ - color = 'yellow'; - } - break; default: color = 'grey'; break; @@ -748,13 +745,13 @@ function selectAllLpars(checkbox){ * @return lpars' string * */ -function getSelectNodes(){ - var ret = ''; - for (var lparName in selectNode){ - ret += lparName + ','; - } - - return ret.substring(0, ret.length-1); +function getSelectNodes() { + var ret = ''; + for ( var lparName in selectNode) { + ret += lparName + ','; + } + + return ret.substring(0, ret.length - 1); } /** diff --git a/xCAT-UI/js/provision/images.js b/xCAT-UI/js/provision/images.js index 1ccc2e9ed..b46225109 100644 --- a/xCAT-UI/js/provision/images.js +++ b/xCAT-UI/js/provision/images.js @@ -536,16 +536,200 @@ function createHpcSelect(container){ hpcFieldset.append(createInfoBar(str)); // advanced software when select the compute profile - str = '