Latest posts made by Richardpofnz
-
RE: Deployment and Quick Delete Host not working from iPXE menu
Hi Sebastian,
Both test workstations I’ve been using have the same hardware. Motherboard model - ASRock Fatal1ty X399.
I’ve just tried replicating on a UEFI Hyper-V VM booting to ipxe.efi and can confirm this works as expected! Looks like the problem is hardware specific.
Definitely not a deal breaker as a manual host registration works and the capture/deploy command from web interface is working perfectly.
Thanks
Richard -
RE: Deployment and Quick Delete Host not working from iPXE menu
Yes this is correct.
The issue only occurs on EFI machines but works as expected on BIOS.
Here is an example of it working on a BIOS machine:
-
RE: Deployment and Quick Delete Host not working from iPXE menu
@Sebastian-Roth said in Deployment and Quick Delete Host not working from iPXE menu:
When I compare this to what I have on my test system it looks like the name of this item is somehow lost. Please
Hey Sebastian,
I mentioned earlier but I removed the memtest menu item as it wasn’t required. Also to note, I was encountering this same issue before I removed it as well. I’ve added it once again as you’ve instructed and it is still behaving the same way.
The other thing I changed was the boot exit type for BIOS from SANBOOT to GRUB_FIRST_FOUND_WINDOWS as some other HP Servers were giving me an error with SANBOOT. The workstations experiencing this issue are EFI and still using the default REFIND_EFI exit type.
Updated output:
#!ipxe set fog-ip 192.168.25.16 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} cpuid --ext 29 && set arch x86_64 || set arch i386 goto get_console :console_set colour --rgb 0x00567a 1 || colour --rgb 0x00567a 2 || colour --rgb 0x00567a 4 || cpair --foreground 7 --background 2 2 || goto MENU :alt_console cpair --background 0 1 || cpair --background 1 2 || goto MENU :get_console console --picture http://192.168.25.16/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0x00567a 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is registered as MWAT-001! item --gap -- ------------------------------------- item fog.local Boot from hard disk item item fog.keyreg Update Product Key item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.quickdel Quick Host Deletion item fog.sysinfo Client System Information (Compatibility) item fog.memtest Run Memtest86+ choose --default fog.local --timeout 30000 target && goto ${target} :fog.local chain -ar ${boot-url}/service/ipxe/grub.exe --config-file="find --set-root /BOOTMGR;chainloader /BOOTMGR"" || goto MENU : kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :fog.keyreg login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param keyreg 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.deployimage 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 param sysuuid ${uuid} :fog.multijoin login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param sessionJoin 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.quickdel login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param delhost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.25.16/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.25.16:/images/ storageip=192.168.25.16 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :fog.memtest kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.25.16/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.25.16:/images/ storageip=192.168.25.16 loglevel=4 imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://192.168.25.16/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
RE: Deployment and Quick Delete Host not working from iPXE menu
@Sebastian-Roth said in Deployment and Quick Delete Host not working from iPXE menu:
http://192.168.x.y/fog/service/ipxe/boot.php?mac=aa:bb:cc:dd:ee:ff
Hi Sebastian,
I was just being over the top with the internal IP masking. Happy to leave it unmasked to make things easier.
Output below:
#!ipxe set fog-ip 192.168.25.16 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} cpuid --ext 29 && set arch x86_64 || set arch i386 goto get_console :console_set colour --rgb 0x00567a 1 || colour --rgb 0x00567a 2 || colour --rgb 0x00567a 4 || cpair --foreground 7 --background 2 2 || goto MENU :alt_console cpair --background 0 1 || cpair --background 1 2 || goto MENU :get_console console --picture http://192.168.25.16/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0x00567a 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is registered as MWAT-001! item --gap -- ------------------------------------- item fog.local Boot from hard disk item item fog.keyreg Update Product Key item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.quickdel Quick Host Deletion item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 30000 target && goto ${target} :fog.local chain -ar ${boot-url}/service/ipxe/grub.exe --config-file="find --set-root /BOOTMGR;chainloader /BOOTMGR"" || goto MENU : kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :fog.keyreg login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param keyreg 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.deployimage 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 param sysuuid ${uuid} :fog.multijoin login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param sessionJoin 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.quickdel login params param mac0 ${net0/mac} param arch ${arch} param username ${username} param password ${password} param delhost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme param sysuuid ${uuid} :fog.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.25.16/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.25.16:/images/ storageip=192.168.25.16 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://192.168.25.16/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
RE: Deployment and Quick Delete Host not working from iPXE menu
Hi Sebastian,
No worries regarding the delayed reply.
I’m definitely selecting Deploy Image and Quick Host Deletion. The only difference is when I select “Deploy Image” it prompts three times for the username and password and only once for “Quick Host Deletion” before proceeding to the client system information page. The only modification I’ve made to the iPXE menu is removing the memtest option.
Video available here:
https://drive.google.com/open?id=1dQGGnlj5cVPVvwoXWKmqy7kEEoSFa0sbExcuse the time it takes to go through the NIC selection (there are 3 in this workstation).
Thanks
Richard -
Deployment and Quick Delete Host not working from iPXE menu
Hi All,
Have a strange issue which I can’t quite figure out.
This is a clean install of Fog on 1.5.6 booting to ipxe.efi.
I can register hosts from the iPXE menu and any deployment/capture tasks configured from the web GUI are working.
Now when I attempt to either use Deployment or Quick Delete Host from the iPXE menu it prompts for a username and password. I enter the default “fog” and “password” which appears to fail but without any prompts. Note, these credentials still work in the GUI. After three attempts it bypasses the menu and I end up here:
Any guidance would be greatly appreciated.
Cheers