Active4 years, 8 months ago
Force vCenter Server update to reflect.vmx changes May 2nd, 2009 by jason Leave a reply » Virtual infrastructure administrators may edit a VM’s.vmx configuration file by hand with vi or nano (my favorite) for a variety of reasons.
i'm looking for a correct solution to editing VMX file via vSphere clinet without need to SSH to ESX host or using VI and Nanocould anybody please help me??
hwoosukhwoosuk
2 Answers
@Hwoosuk The best way , those i have to use with Vmware, is to get Winscp http://winscp.net and connect it directly to the esxi IP console after enable SSH in the Vmware Firewall (configure/soft/security profile) , you can browse all the local esxi Disk or VMFS on you SAN/NAS. Edit Whatever you want carefully , your log etc.., your Vmxf (no write or edit permit by vmware if the VM is power on).So this is the best way to go inside the vmware file system for reading the low-level subsystem. Enjoy Winscp for any linux serveur you may use in your life with an micro$ computer you may use for admin your datacenter. In the winscp menu go to options/pref and paste the directory where you have Putty installed.
(%PROGRAMFILES%PuTTYputty.exe)
. Retain @mister_potato_head solution to do it safely as vmware imposes it , in most case this is the better thing you have to do. :)ZlorgZlorg
The VMX file is generated by vSphere, it you add a new NIC using GUI the vmx file will get updated to reflect this. With this in mind you can use any method to issue commands to edit VM configuration and therefore the vmx file.
Alternately if you would like to edit the VMX file directly you can use PowerCLI as described here
![File File](http://www.electricmonk.org.uk/wp-content/uploads/2012/09/power.jpg)
mister_potato_headmister_potato_head