Hello NG

I created a ZCM Imaging script so that I got a prompt for the name of the
workstation. Unfortunatelly the script doesn't work correct. I set as WSName
following Name WS999
After the Image was restored, the hostname was set to Company-SJCFNSG
(example: Company = Novell) NOVELL-SJCFNSG

What could be the cause of this problem?

Here the script i used:

IMGSVR=192.168.4.30

while test ! $WSNAME; do
echo -n -e "\n Please set NetBIOS Name and a accept with Enter: ";
read WSNAME;

done;

if test $WSNAME; then
zisedit Name=$WSNAME;
fi

img -rp MyImage1.zmg
img -rp MyAddOn1.zmg
img -rp MyAddOn2.zmg

sleep 10


Regards
Ramon