Cannot Open VM .vmx File
See original GitHub issueI used packer-windows to create a vagrant file.
I then am trying to use it here to add it to VMWare Fusion on Mac OSX
$ mech init packer-windows/windows_2008_r2_vmware.box --name=luke
Initializing mech
Checking box integrity...
Extracting...
What username would you like to save? [mech] mike
Saving /Users/miketweaver/.mech/luke/mechfile
Finished.
Saving ./mechfile
Finished.
$ mech up luke
Getting IP address...
VM started on Error: Cannot open VM: /Users/miketweaver/.mech/luke/packer-vmware-iso.vmx, Cannot read the virtual machine configuration file
Sharing current folder...
VM started on Error: Cannot open VM: /Users/miketweaver/.mech/luke/packer-vmware-iso.vmx, Cannot read the virtual machine configuration file
/Users/miketweaver/.mech/luke/packer-vmware-iso.vmx
.encoding = "UTF-8"
bios.bootorder = "hdd,CDROM"
checkpoint.vmstate = ""
cleanshutdown = "TRUE"
config.version = "8"
displayname = "packer-vmware-iso"
ehci.pcislotnumber = "-1"
ehci.present = "FALSE"
ethernet0.addresstype = "generated"
ethernet0.bsdname = "en0"
ethernet0.connectiontype = "nat"
ethernet0.displayname = "Ethernet"
ethernet0.linkstatepropagation.enable = "FALSE"
ethernet0.pcislotnumber = "33"
ethernet0.present = "TRUE"
ethernet0.virtualdev = "e1000"
ethernet0.wakeonpcktrcv = "FALSE"
extendedconfigfile = "packer-vmware-iso.vmxf"
floppy0.present = "FALSE"
guestos = "windows7srv-64"
gui.fullscreenatpoweron = "FALSE"
gui.viewmodeatpoweron = "windowed"
hgfs.linkrootshare = "TRUE"
hgfs.maprootshare = "TRUE"
ide1:0.clientdevice = "TRUE"
ide1:0.devicetype = "cdrom-raw"
ide1:0.filename = "auto detect"
ide1:0.present = "TRUE"
isolation.tools.hgfs.disable = "FALSE"
memsize = "2048"
migrate.hostlog = "./packer-vmware-iso-4f7ac82b.hlog"
monitor.phys_bits_used = "40"
msg.autoanswer = "true"
numa.autosize.cookie = "20001"
numa.autosize.vcpu.maxpervirtualnode = "2"
numvcpus = "2"
nvram = "packer-vmware-iso.nvram"
pcibridge0.pcislotnumber = "17"
pcibridge0.present = "TRUE"
pcibridge4.functions = "8"
pcibridge4.pcislotnumber = "21"
pcibridge4.present = "TRUE"
pcibridge4.virtualdev = "pcieRootPort"
pcibridge5.functions = "8"
pcibridge5.pcislotnumber = "22"
pcibridge5.present = "TRUE"
pcibridge5.virtualdev = "pcieRootPort"
pcibridge6.functions = "8"
pcibridge6.pcislotnumber = "23"
pcibridge6.present = "TRUE"
pcibridge6.virtualdev = "pcieRootPort"
pcibridge7.functions = "8"
pcibridge7.pcislotnumber = "24"
pcibridge7.present = "TRUE"
pcibridge7.virtualdev = "pcieRootPort"
powertype.poweroff = "soft"
powertype.poweron = "soft"
powertype.reset = "soft"
powertype.suspend = "soft"
proxyapps.publishtohost = "FALSE"
remotedisplay.vnc.enabled = "FALSE"
remotedisplay.vnc.ip = "127.0.0.1"
remotedisplay.vnc.key = "REDACTED"
remotedisplay.vnc.password = "REDACTED"
remotedisplay.vnc.port = "5939"
replay.filename = ""
replay.supported = "FALSE"
scsi0.pcislotnumber = "160"
scsi0.present = "TRUE"
scsi0.saswwid = "50 05 05 6f 90 ae 79 b0"
scsi0.virtualdev = "lsisas1068"
scsi0:0.filename = "disk.vmdk"
scsi0:0.present = "TRUE"
scsi0:0.redo = ""
softpoweroff = "TRUE"
sound.startconnected = "FALSE"
tools.synctime = "TRUE"
tools.upgrade.policy = "upgradeAtPowerCycle"
usb.pcislotnumber = "-1"
usb.present = "FALSE"
uuid.action = "create"
uuid.bios = "56 4d 1d 1f 90 ae 79 bc-9f e1 6a 3d 0d d0 29 53"
uuid.location = "56 4d 1d 1f 90 ae 79 bc-9f e1 6a 3d 0d d0 29 53"
virtualhw.productcompatibility = "hosted"
virtualhw.version = "9"
vmci0.id = "1861462627"
vmci0.pcislotnumber = "35"
vmci0.present = "TRUE"
vmotion.checkpointfbsize = "134217728"
ethernet0.addresstype=generated
ethernet0.bsdname=en0
ethernet0.connectiontype=nat
ethernet0.displayname=Ethernet
ethernet0.linkstatepropagation.enable=FALSE
ethernet0.pcislotnumber=32
ethernet0.present=TRUE
ethernet0.virtualdev=e1000
ethernet0.wakeonpcktrcv=FALSE
Any suggestions on what could be going wrong here?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
Cannot open configuration file path_to_vmx_file (2030183)
Powering on a virtual machine fails with the error: Cannot open configuration file path_to_vmx_file (2030183) · Ensure that the host has the ...
Read more >vmx is not a valid virtual machine configuration file - Laksha
1. First of all go to the folder where you have your virtual machine and delete all .lck folders. · 2. Open the...
Read more >Unable to start a VM on ESXi, help! : r/vmware - Reddit
Try removing the VM from inventory then finding the vmx file on the data store and right click add to inventory. If that...
Read more >How to Fix Configuration File Cannot Be Found VMware
Solutions to the error configuration file cannot be found VMware · 1. Access the VMware ESXi web client, navigate to Storage page and...
Read more >Fix: VMX file is corrupted error while opening the virtual machine
It is very simple. You get the error when VMware can't find the VMX file, or it is corrupted. The error may be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay excellent! I imagine we shouldn’t overwrite any values if we see that there is any ethernet interface.
This should be closed by ed10e6f792cbf2dc147df2464c411cc347f0e38b.
Thanks for using mech!