Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Does you system run only in ram? (busybox tag). Is the filesystem persistent? If it is not persistent, does the script need to run more then once in the lifetime of the boot session?
Linux doesn't set jack. Maybe some of the Ubuntu topping which is supposed to do some magic in the back. Anyway, I'm voting down because this is not a real answer. No background on how this solution works, no documentation that explains anything. Just a best guess.
The bootup link does contain some additional background info. dracut (mentioned in my asnwer) is in fact an implementation of a systemd based initramfs
Perhaps this should be moved to superuser? As it would involve some cross-system configuration. 1. KVM pass through for the hardware 2. If this possibilty exists, you will need windows guest drivers for this interface, which I doubt exist out of the box. So it is actually a linux AND windows question. (As the tags also suggest)
The FAQ indeed is a good starting point, thanks for that. I will let you know. Meanwhile, I doubt if nslookup would work from the genkernel rescue shell? If so, I'd be seriously interested what their magic is to make it work.