I know I can't export a NFS mount, just a local fs, and this is my likely problem.
I have a PXE server on a virtual box, it has an Ethernet to the regular network and NAS and an Ethernet for a new computer who is going to be PXE booted. The PXE server gets its ISOs from the NAS, located on the regular Ethernet. Ideally, the PXE'd box would see only a local FS and all the mounted stuff is hidden away, the server would act as a proxy.
/var/lib/tftpboot is exported on the PXE server which has a mount called "PXE" 192.168.2.1:/mnt/Nas/PXE is mounted there. 192.168.1.20 is my PXE server which assigns IPs via DHCP.
The new computer can access the PXE server but it can't get to the NAS. I can boot a vmlinuz image off the NAS. But it crashes soon as it tries to setup a nfs of its own to the NaS.
netboot from 192.168.1.20 :/var/lib/tftpboot/PXE/GParted Trying to nfsmount -o nolock -o ro 192.168.1.20:/var/lib/tftpboot/PXE/GParted /live/medium fails/times outs. It's trying to mount a remotely mounted NFS.
What should I do instead?