Managing pre-requisite of a software product virtual image
First Claim
1. A method for installing pre-requisite software components of a software product on a virtual machine instantiated by mounting at least one virtual disk from a software product virtual image distribution package, the method comprising automatic execution at boot time of:
- reading a list of pre-requisite software components for the software product provided in the software product virtual image distribution package of the software product virtual image;
testing whether each pre-requisite software component in the list of prerequisite software components is installed in the virtual machine and, responsive to the prerequisite software component not being installed, retrieving the pre-requisite software component after reading a location of the pre-requisite software component in a repository provided in the software product virtual image distribution package of the software product virtual image;
responsive to the pre-requisite software component being retrieved from the location of the pre-requisite software component identified in the repository provided in the software product virtual image distribution package of the software product virtual image, reading license text of the retrieved pre-requisite software component and displaying the license text to a user;
upon approval of the license text by the user, installing the retrieved pre-requisite software component; and
repeating the preceding steps, other than the reading of the list of pre-requisite software components, until all the pre-requisite software components are installed.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism is provided for managing pre-requisite software components of a software product distributed on a virtual machine. A list of pre-requisite software components for the software product provided in the software product virtual image distribution package of the software product virtual image is read. A test is performed as to whether each pre-requisite software component in the list of prerequisite software components is not installed in the virtual machine. If the prerequisite software component is not installed, the pre-requisite software component is retrieved. License text of the retrieved pre-requisite software component is read and displayed to a user. Upon approval of the license text by the user, the retrieved pre-requisite software component is installed. The process is repeated until all the pre-requisite software components are installed.
-
Citations
20 Claims
-
1. A method for installing pre-requisite software components of a software product on a virtual machine instantiated by mounting at least one virtual disk from a software product virtual image distribution package, the method comprising automatic execution at boot time of:
-
reading a list of pre-requisite software components for the software product provided in the software product virtual image distribution package of the software product virtual image; testing whether each pre-requisite software component in the list of prerequisite software components is installed in the virtual machine and, responsive to the prerequisite software component not being installed, retrieving the pre-requisite software component after reading a location of the pre-requisite software component in a repository provided in the software product virtual image distribution package of the software product virtual image; responsive to the pre-requisite software component being retrieved from the location of the pre-requisite software component identified in the repository provided in the software product virtual image distribution package of the software product virtual image, reading license text of the retrieved pre-requisite software component and displaying the license text to a user; upon approval of the license text by the user, installing the retrieved pre-requisite software component; and repeating the preceding steps, other than the reading of the list of pre-requisite software components, until all the pre-requisite software components are installed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for installing pre-requisite software components of a software product on a virtual machine instantiated by mounting at least one virtual disk from a software product virtual image distribution package comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to; read a list of pre-requisite software components for the software product provided in the software product virtual image distribution package of the software product virtual image; test whether each pre-requisite software component in the list of prerequisite software components is installed in the virtual machine and, responsive to the prerequisite software component not being installed, retrieve the pre-requisite software component after reading a location of the pre-requisite software component in a repository provided in the software product virtual image distribution package of the software product virtual image; responsive to the pre-requisite software component being retrieved from the location of the pre-requisite software component identified in the repository provided in the software product virtual image distribution package of the software product virtual image, read license text of the retrieved pre-requisite software component and display the license text to a user; upon approval of the license text by the user, install the retrieved pre-requisite software component; and repeat the preceding steps, other than the reading of the list of pre-requisite software components, until all the pre-requisite software components are installed. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer program product comprising a non-transitory computer readable storage medium having a computer readable program stored therein for installing pre-requisite software components of a software product on a virtual machine instantiated by mounting at least one virtual disk from a software product virtual image distribution package, when executed on a computer, causes the computer to:
-
read a list of pre-requisite software components for the software product provided in the software product virtual image distribution package of the software product virtual image; test whether each pre-requisite software component in the list of prerequisite software components is installed in the virtual machine and, responsive to the prerequisite software component not being installed, retrieve the pre-requisite software component after reading a location of the pre-requisite software component in a repository provided in the software product virtual image distribution package of the software product virtual image; responsive to the pre-requisite software component being retrieved from the location of the pre-requisite software component identified in the repository provided in the software product virtual image distribution package of the software product virtual image, read license text of the retrieved pre-requisite software component and display the license text to a user; upon approval of the license text by the user, install the retrieved pre-requisite software component; and repeat the preceding steps, other than the reading of the list of pre-requisite software components, until all the pre-requisite software components are installed. - View Dependent Claims (17, 18, 19, 20)
responsive to the pre-requisite software component not being indicated as already installed in the virtual machine, test whether the pre-requisite software component has been already retrieved by reading a location where the pre-requisite software component was retrieved in a list of all already retrieved pre-requisite software components, wherein the list of all already retrieved pre-requisite software components being updated with newly retrieved pre-requisite software component after each step of installing the retrieved pre-requisite software component.
-
-
18. The computer program product of claim 16, wherein the computer readable program to read the license text of the retrieved pre-requisite software component further causes the computer to initially extract the license text from the retrieved pre-requisite software component.
-
19. The computer program product of claim 16, wherein the computer readable program to read the license text of the retrieved pre-requisite software further causes the computer to read the license text from a license file provided in the software product virtual image distribution package of the software product virtual image.
-
20. The computer program product of claim 16, wherein the computer readable program to retrieve pre-requisite software component further causes the computer to read an Internet address of the location of the prerequisite software component in the repository provided in the software product virtual image distribution package, and the computer readable program to install the retrieved pre-requisite software component further causes the computer to download the pre-requisite software component from the Internet address.
Specification