======VMware - Notes======
=====Blogposts/Articles=====
[[http://virtualgeek.typepad.com/virtual_geek/2009/06/vsphere-and-2tb-luns-changes-from-vi3x.html|Virtual Geek - vSphere and 2TB LUNs – changes from VI3.x]] \\
[[http://www.riether.com/2008/06/vcb-proxy-forgot-to-disable-automount.html|riether.com - vcb proxy - forgot to disable automount and now the vmfs is fucked up]] \\
[[http://technet.microsoft.com/en-us/library/cc753703(WS.10).aspx|TechNet - Command-line Reference - Diskpart]] \\
[[http://techdump.co.uk/2011/10/check-for-orphaned-vmdk-files-in-vcenter-using-powercli/|TechDump.co.uk - Check for orphaned vmdk files in vCenter using PowerCLI]] \\
======Notes======
=====Set the NIC to be an e1000 adapter for a VM via the VMX config file=====
Add/change the following line, where ethernet0 is the first vNIC, ethernet1 the second, and so on:
ethernet0.virtualDev="e1000"
Source:[[http://www.vmug.nl/modules.php?name=Forums&file=viewtopic&t=383|vmug forum - ethernet0.virtualDev="e1000"]] \\
====="VMware image customization is in progress..." at every boot=====
At every boot of a Windows VM it says "VMware image customization is in progress...".
Solution: Edit the registry to remove sysprepDecrypter.exe from the BootExecute REG_MULTI_SZ under "HKLM\System\CurrentControlSet\Control\Session Manager".
Source: [[http://dustinpotts.com/2012/05/18/vmware-image-customization-is-in-progress-at-every-reboot/|Dustin Potts - VMware image customization is in progress … at every reboot]] \\
=====Allow SSH access with public/private key authentication=====
[[http://blogs.vmware.com/vsphere/2012/07/enabling-password-free-ssh-access-on-esxi-50.html|VMware - VMware vSphere Blog - Enabling Password Free SSH Access on ESXi 5.0]] \\
[[http://kb.vmware.com/kb/1002866|VMware Knowledge Base - Allowing SSH access to ESXi/ESX hosts with public/private key authentication (1002866)]] \\
// Tested with ESXi 6.0: // This also works for another account created on the ESXi host by using /etc/ssh/keys-/authorized_keys.