この例では、basic.ini ファイルの内容をコピーして INI ファイル(tpl.ini)が作成されています。 basic.ini は、..¥DSM¥Web Console¥webapps¥wac¥jsp¥ei¥wl¥windows¥packages フォルダにあります。
tpl.ini ファイルの内容は以下のとおりです。
[General]
OutputFolder=.¥
OutputFile=
Origin=CA NRI (Tpl Scan)
Trustlevel=5
TrustlevelRestrictedUser=3
KeepHostkey=Yes
[Inventory]
Method=1
ScanRestrictedUser=1
AdditionalModules=0
TemplateModules=1
Template1=template.tpl
[Software]
Method=1
ScanRestrictedUser=1
[TemplateModules]オプションの値が 1 に変更されています(この値は、basic.ini ファイルの中では 0 でした)。値 1 は、テンプレート ファイルが 1 つのみ存在することを示します。
[TemplateModules]オプションには、[Template1]オプションが続きます。 このオプションは、テンプレート ファイルの名前を表します。 つまり、以下のような行があります。
Template1=template.tpl
追加するテンプレートが複数ある場合、INI ファイルの中身には以下のように追加オプションを含めます。
TemplateModules=3
Template1=template.tpl
Template2=mytemplate2.tpl
Template3=mytemplate3.tpl
|
Copyright © 2013 CA.
All rights reserved.
|
|