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.