Patent ID: 9626213
Date: 2017-04-18
CPC Classifications: G06F,H04L

Claim:
1. A method for virtual machine file injection, comprising: receiving a request for a first image having an operating system and a first set of injected files for a virtual machine; comparing the first set of injected files with second sets of injected files in second images stored on a non-transitory computer readable medium; determining, in response to the first set of injected files and second set of injected files not exactly matching, a cost of completion of each of one or more of the second images; and transmitting, in response to the first set of injected files and second set of injected files not exactly matching, a selected non-complete candidate image and third files from the first set of injected files that are not in the second set of injected files of the selected non-complete candidate image, wherein the selected non-complete candidate image is a second image selected from the second images according to the cost of completion of each of one or more of the second images; wherein the cost of completion of each of one or more of the second images is a cost to modify a respective one of the second images to have the first set of injected files; wherein the selected non-complete candidate image is the one or more of the second images with a lowest cost of completion; and wherein the request for the first image is a request for at least the first image of the operating system and the first set of injected files and a third image of the operating system and a third set of injected files, and wherein the cost of completion is determined using a graph distance metric calculation.