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
This commit is contained in:
mellor 2010-11-17 22:47:40 +00:00
parent cacedba667
commit 959c2f5ad0

View File

@ -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")) {