From 959c2f5ad07d66c0fd87dccbabdb3b70bf06588a Mon Sep 17 00:00:00 2001 From: mellor Date: Wed, 17 Nov 2010 22:47:40 +0000 Subject: [PATCH] defect 3109388: rollupdate -- allow quotes around bringupappstatus value git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/rollupdate.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/rollupdate.pm b/xCAT-server/lib/xcat/plugins/rollupdate.pm index 30d5b8699..10893776c 100644 --- a/xCAT-server/lib/xcat/plugins/rollupdate.pm +++ b/xCAT-server/lib/xcat/plugins/rollupdate.pm @@ -374,6 +374,12 @@ sub readFileInput { ($attr eq 'skipshutdown') ) { $val =~ tr/A-Z/a-z/; } + + # Remove surrounding quotes in the following values + if ( ($attr eq 'bringupappstatus') ) { + $val =~ s/^['"]//; + $val =~ s/['"]$//; + } # Set some required defaults if not specified if (($prev_attr eq "prescript") && ($attr ne "prescriptnodes")) {