TFTP client from the ESXi shell

itnifl
itnifl used Ask the Experts™
on
I am automating the installation of a ESXi host with a scripted USB install. I need to fetch some information in a file stored on a router. Thios will be done in the kickstart script, ks.cfg, that is executed when the usb is booted. I see I can use scp and wget, but the guys controlling the router prefer me to use tftp if I can. There does not seem to be a tftp client available in the ESXi shell after install, so I was wondering if I could find a standalone tftp client, package it and include it with the ESXi USB install - or find some other solution for the tftp connection problem. Package a tftp client and include it with the ESXi USB install is not a problem, but I have a problem finding a standalone tftp client I can use.

Any suggestions?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
There is no tftp client in ESXi, because VMware have created a lightweight hypervisor, with a small footprint.

You would need to compile a tft client for use with the ESXi kernel.

see here how to build your development ESXi environment

http://www.v-front.de/2013/03/how-to-build-device-drivers-for-esxi-5x.html
itniflProgrammer

Author

Commented:
Thank you.

If you see this guide:
https://michael.lustfield.net/misc/completely-automated-esxi-deployment
You see the guy includes ovf-tool with the ESXi installation media.

I was thinking of doing the same with tftp, if I could just find a standalone client that is good to use. I guess I will have to do by trial and error maybe.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
or build your own, or find a tftp client application, which is supported for that version of the OS.

We do not do anything with the installer, which is bespoke, not supplied by VMware, to ensure it's vanilla and supported by VMware.
itniflProgrammer

Author

Commented:
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial