add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c74580a8a1
commit
e47dc2635d
@ -272,7 +272,7 @@ sub process_request {
|
||||
my @tmp = split (/\s+/, $entry);
|
||||
|
||||
# check the validity of the option
|
||||
if ($tmp[1] !~ /^(tmpfs|persistent|localdisk|rw|link|tmpfs,rw|link,ro|link,persistent|link,con)$/) {
|
||||
if ($tmp[1] !~ /^(tmpfs|persistent|localdisk|rw|ro|con|link|tmpfs,rw|link,ro|link,persistent|link,con)$/) {
|
||||
$callback->({error=>[qq{ $tmp[2] has invalid option. The valid options: tmpfs persistent localdisk rw link tmpfs,rw link,ro link,persistent link,con}], errorcode=>[1]});
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user