Noted, there was another concern raised that python might be available in other versions in older systems (python2 vs python3). So I am actually considering utilizing shell script to gather facts now rather than python. And instead of JSON facts transferred in HTML body, we would use HTTP headers (key-value strings) instead. We really do not need to find much info.
The main idea behind Anaconda-Pre is here: Idea: Dracut/Anaconda-based discovery image
Now, FQDN is fact we will definitely not send in the new design - why would you need that? On discovery image it is always fdi
, unless overwritten by DHCP which I think is turned off anyway. If someone needs some extra information (let’s say a vendor option from DHCP) a custom fact can be made.