> cool solutions home   > cool tools home
Zauto script
Automatically set image-safe data from DNS lookup in the Linux PXE environment.
Reader Rating    from ratings rate this article
View a Printer Friendly Version of this Page Send this page to a friend
vitals
Posted: 28 May 2003
File Size: 76KB
License: GPL
Download 1:  zauto-patch.tar.gz
Publisher: Stig Sørensen
E-mail: stig@ruc.dk
disclaimer
Please read the note from our friends in legal before using this file.
details

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.

INSTALLATION

The zauto script and (g)awk can be added to the Linux PXE imageautomatically 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 asfollows:

  1. Copy "SYS:/tftp/linux.2" to the "zauto-patch" directory.
  2. Edit "extra/zauto" to suit your needs.
  3. cd to the "zauto-patch" directory and run "./patch-pxe.sh".
  4. Copy the patched linux.2 image back to the "SYS:/tftp" folder.