ZENworks Imaging Menu
Novell Cool Solutions: Trench
By Jan Visser
Reader Rating
from 4 ratings
|
Digg This -
Slashdot This
Posted: 15 Jul 2004 |
ZENworks Imaging is the best tool for imaging. I tried to make it just a little bit better for our environment and thought my solution could be helpful for other people struggling with it. So I made a simple menu which starts with ZENworks Imaging.
You just have to follow TID 10070811.
mv linux.2 > linux.gz gzip -d linux.gz mkdir /zen mount -o loop linux /zen cd /zen/bin
Now add this line to the prompt.s file ( /bin/ )
exec /bin/menu
Now create your menu and call the file menu and place it in the bin directory.
umount /zen gzip -9c linux > linux.gz mv linux.gz > linux.2
Example of menu:
#!/bin/bash while [ "$input" != "0" ] do clear echo "##################################" echo " Image menu" echo "##################################" echo "" echo "" echo "[1] Download image" echo "[2] Restore ONLY C: Drive" echo "[5] Create Image" echo "[0] quit" read input case $input in "3" ) hdparm -d1 /dev/hda img mp %ipadres% %uncpath%/image.zmg reboot break ;; "2" ) hdparm -d1 /dev/hda img pd1 img pc1 NTFS img pa1 img rp %ipadres% %uncpath%/image.zmg a1:p1 reboot break ;; "1" ) img pd1 img pd2 img pd3 img pd4 hdparm -d1 /dev/hda img rp %ipadres% %uncpath%/image.zmg img pc2 ntfs img pa1 img %ipadres% %uncpath%/ddrive.zmg a2:p2 reboot break ;; "0") clear ash -rcfile /bin/bashrc exit 0 ;; esac done exit 0
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
