-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
VMX property values that can contain '=' characters break parsing due to how loadVMXMap() is implemented:
Lines 54 to 57 in 983fd93
parts := strings.Split(line, "=") | |
if len(parts) != 2 { | |
errors = appendErrors(errors, fmt.Errorf("Invalid line: %s ", line)) | |
} |
This came up while trying to create machines with https://github.com/hooklift/terraform-provider-vix using this https://app.vagrantup.com/generic/boxes/ubuntu1804/versions/3.0.10/providers/vmware_desktop.box Vagrant box.
The box has a guestos.detailed.data
property defined with the value bitness='64' distroName='Ubuntu' distroVersion='18.04' familyName='Linux' kernelVersion='4.15.0-76-generic' prettyName='Ubuntu 18.04.4 LTS'
I'll submit a pull request.
Metadata
Metadata
Assignees
Labels
No labels