Skip to content

lennisthemenace/vmx_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmx_editor

Python module for safely reading and editing .vmx files for vmware virtual machines. This is especially helpful if the user only has vmware Player

Example:

from vmx_editor.editor import Editvmx
vm = Editvmx()

vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Hardware.VIRTUAL_MEMORY, 4000)
vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Connection.FIRST_ETHERNET_CONNECTION_TYPE, vm.Values.Connection.BRIDGED)
print(vm.read_setting(vm.find_vmx(), vm.Settings.Hardware.VIRTUAL_MEMORY))
vm.add_or_modify_setting(vm.find_vmx(), vm.Settings.Hardware.HARDWARE_VERSION, 11)

Install:

pip install vmx-editor

Releases

No releases published

Packages

No packages published

Languages