The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Neat "if exists" method for iPXE Scripts...
2013-06-05, 03:06
Post: #1
Neat "if exists" method for iPXE Scripts...
Using initrd to function as an “if file exists” Boolean Determinor:
set boot-path ${17}/Media-Depot/linux/VMware/4.1/ESX/HP/Z7550-00801
set config-path ${boot-path}/KickStart

initrd ${boot-path}/KickStart/${uuid}.cfg && goto stage2 || goto menu-option

imgfree ${uuid}.cfg
echo Booting VMware ESX 4.1 Update 2 (OEM HP Z7550-00801)to Install to Local Disk for ${hostname}
initrd ${boot-path}/isolinux/initrd.img
chain ${boot-path}/isolinux/vmlinuz vmkopts=debugLogToSerial:1 mem=512M ks=${config-path}/${uuid}.cfg

chain ${17}/NetBoot/iPXE/ipxelinux.cfg/default/default.ipxe

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Neat "if exists" method for iPXE Scripts... - MultimediaMan - 2013-06-05 03:06

User(s) browsing this thread: 1 Guest(s)