From 205b64c8c20e9429677e782650a24a7591f388c3 Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 20 Dec 2011 19:50:31 +0000 Subject: [PATCH] Added check for disk pool and size configuration. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/xcat/plugins/webportal.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-UI/xcat/plugins/webportal.pm b/xCAT-UI/xcat/plugins/webportal.pm index 6cc0e6c98..5149d47bc 100644 --- a/xCAT-UI/xcat/plugins/webportal.pm +++ b/xCAT-UI/xcat/plugins/webportal.pm @@ -195,7 +195,7 @@ sub provzlinux { } # Use default configuration if profile configuration does not exist - if (!$disk_pool || !$eckd_size || !$fba_size) { + if (!$disk_pool && (!$eckd_size || !$fba_size)) { println( $callback, "$profile configuration for disk pool and size does not exist. Using default configuration." ); $disk_pool = $default_disk_pool;