Opened 15 years ago
Last modified 15 years ago
#7384 closed defect
PXE fails if ~/.VirtualBox/TFTP/ is missing — at Initial Version
Reported by: | Luiz Angelo Daros de Luca | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 3.2.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
Hello,
I configured my machine to use a external TFTP server:
VBoxManage modifyvm "Diskless NAT" --nattftpserver1 10.9.1.31 VBoxManage modifyvm "Diskless NAT" --nattftpfile1 /pxelinux.0
However, according to vbox code, it still checks for TFTP directory:
./src/VBox/Devices/Network/slirp/bootp.c: 248 /*DHCP Offer specific*/ 249 if ( tftp_prefix 250 && RTDirExists(tftp_prefix) 251 && bootp_filename) 252 RTStrPrintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename); 253
Please, if tftp_server is defined, ignore tftp_prefix.