1. A method comprising: identifying, for each of one or more configuration files in a pre-configured source virtual machine, a corresponding configuration file in a target virtual machine via: filtering a set of multiple candidate configurations files in the target virtual machine based on application of (i) a location-name filter and (ii) a keyword distribution filter, wherein: said location-name filter compares a file name and a path associated with each of the multiple candidate configuration files to the one or more configuration files in the pre-configured source virtual machine; and said keyword distribution filter analyzes a similarity in keyword distribution in file content for each of the multiple candidate configuration files in comparison to the one or more configuration files in the pre-configured source virtual machine; and wherein said filtering comprises: recording the keyword distribution in a vector for each of the respective candidate configuration files; combining (i) a normalized distance between the vector for each of the respective candidate configuration files and a vector for each of the respective corresponding configuration files in the pre-configured source virtual machine and (ii) a match score corresponding to the path associated with each of the respective candidate configuration files and each of the respective corresponding configuration files in the pre-configured source virtual machine to generate an overall matching score; and selecting the respective candidate configuration file with the lowest overall matching score; identifying one or more mis-configured and/or missing points of variability in the selected configuration file in the target virtual machine based on information derived from the one or more configuration files in the source virtual machine, wherein each of the one or more mis-configured and/or missing points of variability in the selected configuration file in the target virtual machine are derived from at least one of an application-specific configuration file and a middleware-specific configuration file, and wherein said identifying the one or more mis-configured and/or missing points of variability comprises: implementing a hierarchical element mapping scheme wherein (i) a source tree is created for each configuration file in the source virtual machine and a target tree is created for each configuration file in the target virtual machine; and mapping one or more nodes from the source tree to respective nodes in the target tree based on (i) content and (ii) at least one additional node attribute; and reconfiguring the target virtual machine by replacing each identified mis-configured point of variability with a given value based on the information derived from the one or more configuration files in the source virtual machine, and adding each identified missing point of variability at a given location with a given value and a given format based on the information derived from the one or more configuration files in the source virtual machine; wherein at least one of the steps is carried out by a computer device.