I have about 20 Scriptet ZENworks Images in my eDirectory. Most of them share the same code, so I wonder if it is possible to somehow include the shared code in my Images.

example:

SCRIPT1
Code:
img pd1
img pd2
img pd3
img pd4
img pc1 ntfs
img pa1
img rp imgsrv //imgsrv/zfd/image/en-base.zmg a1:p1
img rp imgsrv //imgsrv/zfd/image/client.zmg
img rp imgsrv //imgsrv/zfd/image/xyz.zmg
img rp imgsrv //imgsrv/zfd/image/123.zmg
SCRIPT2
Code:
img pd1
img pd2
img pd3
img pd4
img pc1 ntfs
img pa1
img rp imgsrv //imgsrv/zfd/image/en-base.zmg a1:p1
img rp imgsrv //imgsrv/zfd/image/client.zmg
img rp imgsrv //imgsrv/zfd/image/abc.zmg
img rp imgsrv //imgsrv/zfd/image/789.zmg

As you see script 1 & 2 share the first 8 lines. In my ideal dream world the scripts would look something like this:

SCRIPT1
Code:
include en-base.txt
img rp imgsrv //imgsrv/zfd/image/xyz.zmg
img rp imgsrv //imgsrv/zfd/image/123.zmg

SCRIPT2
Code:
include en-base.txt
img rp imgsrv //imgsrv/zfd/image/abc.zmg
img rp imgsrv //imgsrv/zfd/image/789.zmg
en-base.txt
Code:
img pd1
img pd2
img pd3
img pd4
img pc1 ntfs
img pa1
img rp imgsrv //imgsrv/zfd/image/en-base.zmg a1:p1
img rp imgsrv //imgsrv/zfd/image/client.zmg

Would that be possible? And how do I implement that? I run ZfD 7 on Netware 6.5

Thanks in advance and a merry christmas to you all (when you get that far) :-)

/Anders