Environment
Novell
ZENworks 7 Desktop Management - ZDM7 Imaging
Situation
ZENworks
scripted images using variables fail to process
correctly.
Imaging
scripts using extra % characters for variable names do not work
after applying Hot Patches after ZDM7 SP1 was made
available.
Prior to Hot
Patches for ZDM 7 SP1, running 'img a' would create a
zenAdvancedScript file and would replace %% with % wherever it
existed. With HP2, the script is left as it is in the object
(i.e. all %% are still %%). This breaks imaging
scripts.
Resolution
It is no
longer necessary to use extra % characters as a workaround to get
script variables to be recognized.
Original
example:
file:run,"img rp
%%PROXYADDR%% //%%PROXYADDR%%/images/%%drivers_image%%
a1:p1",verbose
To fix the
problem, remove the extra % characters:
file:run,"img rp
%PROXYADDR% //%PROXYADDR%/images/%drivers_image%
a1:p1",verbose
NOTES:
- The syntax used above is applicable to scripts used in ENGL's Zim product (http://www.engl.co.uk/products/zim/index.html).
- This symptom is also referenced in ENGL's Knowledgebase at https://englnet.engl.co.uk/kb/tid-2007002.htm