2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 10:50:28 +00:00

Remove trailing spaces in file perl-xCAT/xCAT/CFMUtils.pm

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent bb0b1fa4c1
commit 112cbad9ca

View File

@ -25,7 +25,7 @@ use xCAT::MsgUtils;
=head3 initCFMdir
Initialize CFM directories and files. The default layout under cfmdir is:
.
.
|-- etc
| |-- group.merge -> /etc/group.merge
| |-- hosts -> /etc/hosts
@ -42,7 +42,7 @@ use xCAT::MsgUtils;
0 - initialize successfully
1 - initialize failed
Globals:
none
none
Error:
none
Example:
@ -116,7 +116,7 @@ sub initCFMdir
Update the /etc/passwd, shadow, group merge files under specified CFM directory
Arguments:
$cfmdir - CFM directory for osimage
$cfmdir - CFM directory for osimage
Returns:
0 - update successfully
1 - update failed
@ -287,7 +287,7 @@ sub setCFMSynclistFile {
#-----------------------------------------------------------------------------
=head3 updateCFMSynclistFile
Update the synclist file(/install/osimages/<imagename>/synclist.cfm) for CFM function.
Update the synclist file(/install/osimages/<imagename>/synclist.cfm) for CFM function.
It will recursively scan the files under cfmdir directory and then add them to CFM synclist file.
Note:
The files with suffix ".append" will be appended to the dest file(records in "APPEND:" section).
@ -778,8 +778,8 @@ sub getPkgsDiff {
#-----------------------------------------------------------------------------
=head3 getIncludefiles
Get the #INCLUDE files from the given file
=head3 getIncludefiles
Get the #INCLUDE files from the given file
Arguments:
$file - the given file
@ -825,7 +825,7 @@ sub getIncludefiles {
#-----------------------------------------------------------------------------
=head3 trim
Strip left and right whitspaces for a string
Strip left and right whitspaces for a string
Arguments:
$string