Here I will collect main steps to deploy UbuntuKVM on esxi for NSX-T deployment for testing purposes.

1. Install NSX-T version 2.4.1

2. Install Ubuntu 16.04.2 as most compatable for NSX-T. https://docs.vmware.com/en/VMware-NSX-T-Data-Center/2.4/installation/

3. Enable SSH root for Ubuntu:

sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

sudo service ssh restart
4. Change interface to support trunk if required:

auto ens160.22
iface ens160.22 inet static
vlan-raw-device ens160

5. To validate that you have properly enable VHV, you run the following command:

egrep '(vmx|svm)' /proc/cpuinfo

5.1 Another command you can also run to check if the VM has been properly configure is the following:

kvm-ok

Output should be:

INFO: /dev/kvm exists
KVM acceleration can be used

6. Install next packets on the Ubuntu if next error appeared on host adding:

ERROR:

Failed to install software on host. Unresolved dependencies : ['libunwind8', 'libgflags2v5', 'libgoogle-perftools4', 'traceroute', 'python-mako', 'python-simplejson', 'python-unittest2', 'python-yaml', 'python-netaddr', 'libprotobuf9v5', 'libboost-chrono1.58.0', 'libgoogle-glog0v5', 'dkms', 'libboost-date-time1.58.0', 'libleveldb1v5', 'libsnappy1v5', 'python-gevent', 'python-protobuf', 'ieee-data', 'libyaml-0-2', 'python-linecache2', 'python-traceback2', 'libtcmalloc-minimal4', 'python-greenlet', 'python-markupsafe', 'libboost-program-options1.58.0', 'python-openssl']

apt-get install qemu-kvm 
apt-get install libvirt-bin 
apt-get install virtinst 
apt-get install virt-manager 
apt-get install virt-viewer
apt-get install ubuntu-vm-builder
apt-get install bridge-utils 
apt-get install libunwind8 libgflags2v5 libgoogle-perftools4 traceroute python-mako python-simplejson python-unittest2 python-yaml python-netaddr libprotobuf9v5 libboost-chrono1.58.0 libgoogle-glog0v5 dkms libboost-date-time1.58.0 libleveldb1v5 libsnappy1v5 python-gevent python-protobuf ieee-data libyaml-0-2 python-linecache2 python-traceback2 libtcmalloc-minimal4 python-greenlet python-markupsafe libboost-program-options1.58.0