@Sebastian-Roth I kind of got pulled in a few different directions.
But the concept is to use grub to make an ipxe call. From grub we would use the menu that would look a bit like this
menuentry 'Quick Image' {
set root='hd0,msdos1'
linux16 /boot/ipxe.krn
initrd16 /boot/qimage-initrd
}
Then the qimage-initrd would contain something like
#ipxe
param mac0 ${net0/mac}
param arch ${arch}
param username fog
param password password
param qihost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain -ar http://<fog_server_ip>/fog/service/ipxe/boot.php##params
Understand this is still a concept, but all of the bits look like they fit together nicely. That should provide the quick image menu for unregistered hosts.