VirtualBox

Ticket #7384 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

PXE fails if ~/.VirtualBox/TFTP/ is missing => Fixed in SVN

Reported by: luizluca Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 3.2.8 Keywords:
Cc: Guest type: other
Host type: Linux

Description (last modified by Hachiman) (diff)

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.

Change History

comment:1 Changed 4 years ago by Hachiman

  • Description modified (diff)

comment:2 Changed 4 years ago by Hachiman

Indeed this code should be changed in manner to validate folder in case it's built-in server only.

comment:3 Changed 4 years ago by Hachiman

Could you please check that r32747 fixes issue for you?

comment:4 Changed 4 years ago by frank

  • Summary changed from PXE fails if ~/.VirtualBox/TFTP/ is missing to PXE fails if ~/.VirtualBox/TFTP/ is missing => Fixed in SVN

The fix will be included in the next maintenance release.

comment:5 Changed 4 years ago by luizluca

Confirmed! This patch fixed the bug. Thanks.

comment:6 Changed 4 years ago by Hachiman

Thanks for feedback.

comment:7 Changed 4 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use