Novell Cool Solutions: Cool Tool
Automatically set image-safe data from DNS lookup in the Linux PXE environment.
|Posted:||28 May 2003|
Please read the note from our friends in legal before using this file.
The zauto script is a fast way for updating image-safe data from the Linux PXE environment, given that workstation hostnames are known to the DNS server. Image-safe data is updated by simply calling the "zauto" script from the bash-prompt or from a scripted image. Default values for image-safe data can be changed by editing the "zauto" script located in the "extra" folder.
The zauto script and (g)awk can be added to the Linux PXE image automatically by running the "patch-pxe.sh" script. This must be done from a Linux workstation, with support for minix fs and loop devices. The procedure is as follows:
- Copy "SYS:/tftp/linux.2" to the "zauto-patch" directory.
- Edit "extra/zauto" to suit your needs.
- cd to the "zauto-patch" directory and run "./patch-pxe.sh".
- Copy the patched linux.2 image back to the "SYS:/tftp" folder.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com