summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmware/data/opt/openslx/vmchooser/vmware/includes/parse_vmx.inc
blob: dec80e1d7560abcbf206f1ec143fc76844287210 (plain) (blame)
1
2
3
4
5
6
7
8
######################################################################
# Include: Parsing the non-legacy delivered vmxfile ${TMPCONFIG} #
######################################################################

writelog "Parsing virtual machine description file..."

HWVER=$(grep -i -m1 '^virtualHW.version *= *' "${TMPCONFIG}" | awk -F '=' '{print $2}' | sed -r 's/[^0-9]//g')