mechboxes / mech

Easy command line virtual machines for VMWare
https://mechboxes.github.io/mech/
MIT License
311 stars 49 forks source link

BUGFIX: fix error 'list index out of range' #34

Closed iNamja closed 6 years ago

iNamja commented 6 years ago

Bugfix for #32 (mech up: list index out of range)

The Bug happens because the .vmx file contains empty lines

Testsystem: Windows 10; Pyhton 2.7.14; VMWare Workstation 12

Box: bento/ubuntu-14.04 Code Example (ubuntu-14.04-amd64.vmx)

.encoding = "UTF-8"

bios.bootorder = "hdd,CDROM"
ColdHeat commented 6 years ago

This looks okay... Thanks for the PR!