This property page lets you put a Scripted ZENworks® Image on the workstation according to the script you create in the Script Text box.
See the following examples for more information:
Example 1NOTE: You can perform scripted imaging operations from the bash prompt by using the imaging.s command.
Growing an Image on a 14 GB Drive to Fill a 20 GB Drive
Assuming that the image has a single partition, FAT32, the script would be as follows:
#First, delete all existing partitions:
img pd1
img pd2
img pd3
img pd4
#Second, create a single large FAT32 partition and set it to be active:
img pc1 FAT32
img pa1
#Third, restore the old image into the new partition:
img restorep 123.45.67.89 //myProxy/volume/images/myImage/zmg a1:p1
Example 2
Imaging One Partition Without Disturbing the Others
In this example, drive C: is a 4500 MB FAT32 partition and is re-imaged without disturbing the other drives.
#First, delete the current drive C:
img pd1
#Second, create a new drive C: and set it to be active:
img pc1 FAT32 4500
img pa1
#Third, restore the operating system to the new partition:
img restorep 123.45.67.89 //myProxy/volume/images/OSimage.zmg a1:p1
Example 3
Taking an Image of the First Partition, But Not the Second
img makep 123.45.67.89 //myProxy/volume/images/OSimage.zmg x2
A trademark symbol (®, TM, etc.) denotes a Novell trademark. An asterisk denotes a third-party trademark. For information on trademarks, see Legal Notices.