Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################ CONFIGURATION
- #
- # Where to find ISO files when configuring the PXE menu
- #
- ISOIMPORT_DIR="/images"
- #
- # Filter against ISO files to find in the import directory
- # NB: Only items matching this pattern are acted-on when using `-A' or `-a'
- # NB: This is an awk(1) regular expression
- #
- ISOFILTER="^(Free|True).+"
- #
- # Base path to NFS/SMB exported directory to unpack ISO to
- #
- # NB: Feel free to set this to $ISOIMPORT_DIR but beware that the files are
- # unpacked as `root' so will may be immutable to the user that uploaded
- # the original ISO into the same directory. However, you can always use
- # the `-R' flag to prune entries.
- #
- ROOTEXPORT_DIR="/pxe"
- #
- # Path to our boot image build-framework
- #
- NETBOOT_SRC="$0"
- NETBOOT_SRC="${NETBOOT_SRC%/*}/netboot"
- #
- # What is the IP address of the HTTP server (usually this machine) that serves
- # the netboot ISO images?
- #
- # NB: If not this machine, make sure the $HTTP_DATA files get pushed there
- #
- HTTP_SERVER="192.168.1.1"
- #
- # URI to the HTTP exported directory serving pxe-config ISOs
- # NB: Served from $HTTP_DATA as configured in `httpd.conf'
- # NB: This can be a directory or symlink (e.g., to $ROOTEXPORT_DIR)
- #
- ISOEXPORT_URI="/pxe"
- ############################################################ MORE CONFIGURATION
- #
- # Samba configuration file and template
- #
- SMB_CONF_TEMPLATE="/usr/local/etc/smb.conf.template"
- SMB_CONF="${SMB_CONF_TEMPLATE%.*}"
- #
- # syslinux menu configuration file and template
- #
- MENU_CONF_TEMPLATE="/tftpboot/boot/pxe-config/isolinux.cfg.template"
- MENU_CONF="${MENU_CONF_TEMPLATE%.*}"
- #
- # Text to replace `@TITLE@` in $MENU_CONF_TEMPLATE with
- #
- MENU_TITLE="ISO Options:"
- #
- # apache httpd DocumentRoot (configured in `httpd.conf')
- #
- HTTP_DATA="/usr/local/www/apache22/data"
- #
- # Where to temporarily mount the ISO
- #
- ISO_MNT="/tmp/pxe-config.iso.$$"
- #
- # Where to temporarily mount FreeNAS md(4) volume (e.g., base.ufs.uzip)
- #
- MD_MNT="/tmp/pxe-config.md.$$"
- ############################################################ GLOBALS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement