Adding Deploying images to the main iPXE menu without need to login
-
Hi all, this is my first topic here
I have a very simple request as I really exhausted all ChatGPT brains trying to find the correct parameter to make a new menu item for iPXE to deploy either win.10 or win.11 and I failedI managed to create the items both inside the menu and mark them for unregistered hosts but it fails to deploy. I actually tried to amend the original one but failed to deploy too.
Original Deploy image param. :
login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
what ChatGPT asked me to input for my menu item (Auto Win.10 Deploy) in the param was:
params param mac0 ${net0/mac} param arch ${arch} param type down param imageID 1 chain http://192.168.1.5/fog/service/ipxe/boot.php##params || goto bootme
and many others like :
boot.php?mac=${net0/mac}&imageID=2&type=down
also suggested amending the original one to remove the need for login but also failed:
params param mac0 ${net0/mac} param arch ${arch} isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme chain http://192.168.1.5/fog/service/ipxe/boot.php?mac=${net0/mac} || goto bootme
Any solution please
? I have spent 7.5 hrs trying that I really gave up
All replies are welcomed and appreciated.
Thank you all. -
Hey everyone
any help please?
this is really irritating to me, and Iām trying to find a resolutionso any suggestion will be appreciated
-
@mr-Twister Can you please try this:
http://forums.fogproject.org/post/122702
effectively your boot menu likely needs to be:
params param mac0 ${net0/mac} param arch ${arch} param qihost 1 kernel bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://${fog-ip}/fog/ consoleblank=0 rootfstype=ext4 mac= ftp=<storageIPHere> storage=<storageIPHere>:/images/ storageip=<storageIPHere> irqpoll chkdsk=0 capone=1 type=down img=<imageNameHere> imgType=n imgPartitionType=all imgid=2 osid=<imageOSIDHere> imgFormat=<imageFormatHere> imgfetch init.xz boot
Replacing as appropriate:
<storageIPHere>
<imageNameHere>
<imageOSIDHere>
<imageFormatHere>
with your relevant information.
Ultimately finding these pieces of data relevant to your specific image will be the hardest part, but once done I believe this will do what you are wanting/hoping.