Creating Images from ISO
If a particular Operating System Image is not available from a linked Marketplace; for example Red Hat or SUSE Enterprise Linux, a gold image can be created using an ISO downloaded from the suppliers web site.
-
First, download the ISO.
- In the HyperCloud portal, navigate to Storage -> Images.
- Click the
and select Create.
- Add a name for the Image.
- Change the
Type
toReadonly CD-ROM
. - Select the
Upload
option. -
Browse to the downloaded ISO and select it for uploading.
> Note: The upload may take a while to happen, a progress bar will be displayed.
-
Create an Image for the root disk.
- In Images, click the
and select Create again.
- Change Type to Generic storage datablock.
The This image is persistent field will need to be set to YES.
- Select Empty disk image.
- Enter a size.
This does not need to be too large, just enough to handle the initial OS install.
- In Images, click the
-
Navigate to Templates -> VMs.
- Click the
and select Create.
- Fill in the name - [OS name] Installation.
- Add Memory.
- Add Physical and Virtual CPU.
Reminder: For efficient oversubscription of CPU cycles, ensure Physical CPU allocation is 1/10th that of the Virtual CPU allocation.
- Click the
-
Once the Template is created, select it and click Instantiate.
- Enter a VM name.
- Click the green Instantiate button.
Info: At this point, the new Instance should appear under Instances → VMs.
-
Click on the VM and open a VNC session.
-
Use the VNC session to install the new Operating System as per usual method.
-
After the installation process is complete, power off the VM - either via the command line or from Instances -> VMs in the Dashboard.
-
The installed VM will now be deleted by checking the box next to the VM in the Instances VM List and pressing the
on the header ribbon, but make sure the Images are not removed as well. The Datablock, flagged as persistent, will retain the installed OS.
-
Modify the Image to be used for VMs.
- Navigate to Storage -> Images.
- Select the Generic Datablock Image created to install the OS.
- Change Type to OS.
- Change Persistence to NO.
-
The VM Template created during the initial instantiation and installation can be modified to reference only the newly created OS Image by removing the other Disks (CD-ROM ISO, etc.).
Permissions may need to be altered to allow Users to instantiate VMs from the Template.