Difference between revisions of "OS4X plugin os4xplugin oftp rename"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == Purpose == |
+ | OFTP supported for virt. File names only contain a small set of characters. This plugin verifies whether all characters of the specified virt. Filenames are OFTP compliant and may make the following changes:*Bei Dateinamenlängen größer 26 wird der Name auf 26 Zeichen limitiert | ||
+ | *All lowercase letters are translated to uppercase | ||
+ | *All underscores ("<code>_</code>") are transformed into hyphens/minus ("<code>-</code>") | ||
+ | *All remaining characters that do not conform to the specification are transformed into hyphens/minus ("<code>-</code>") | ||
− | * | + | == Requirements == |
+ | * File <code>/etc/os4x.conf</code> or configuration file referenced by environment variable <code>$OS4X_CFGFILE</code>. The temporary directory and the license file are obtained via the database that is configured here. | ||
− | == | + | == Configuration == |
- | - | ||
− | == | + | == Return codes == |
− | *0: | + | *0: everything OK |
− | *1: | + | *1: Number of parameters != 1; Config file <code>/etc/os4x.conf</code> not found; Config in database not readable; License not valid; XML file invalid |
Latest revision as of 09:04, 29 July 2024
Purpose
OFTP supported for virt. File names only contain a small set of characters. This plugin verifies whether all characters of the specified virt. Filenames are OFTP compliant and may make the following changes:*Bei Dateinamenlängen größer 26 wird der Name auf 26 Zeichen limitiert
- All lowercase letters are translated to uppercase
- All underscores ("
_
") are transformed into hyphens/minus ("-
") - All remaining characters that do not conform to the specification are transformed into hyphens/minus ("
-
")
Requirements
- File
/etc/os4x.conf
or configuration file referenced by environment variable$OS4X_CFGFILE
. The temporary directory and the license file are obtained via the database that is configured here.
Configuration
-
Return codes
- 0: everything OK
- 1: Number of parameters != 1; Config file
/etc/os4x.conf
not found; Config in database not readable; License not valid; XML file invalid