Custom Operating System Images
Apart from the default images offered in Infrahub/Hyperstack, users can also create custom operating system (OS) images from a previously created snapshot. Similar to the default images, these custom ones are pre-configured representations of the OS used for the creation and deployment of the corresponding snapshot. The custom images created by the user will appear in the image selection sector when deploying a virtual machine (VM), allowing users to pick a custom OS or a default one.
Check list of default images here
In this article
How to create a custom image
In order to create a custom image, users must have at least one snapshot. Then, the user can create an image from any snapshot that is in a "success" state, by going to the Snapshots page and selecting the corresponding action from the dropdown. To create an image from a snapshot, the user just needs to set a unique name for the new image.
How to use a custom image
All custom images that are successfully created by the user, will appear to them when deploying a virtual machine (VM). In the "Deploy VM" page, in the section where the user selects the desired image for the VM, there is a new tab called "Custom Images" containing these records. This works for any custom image, from any snapshot.
Images API
The Infrahub API can be used to create, manage and delete Custom Images.