Product SiteDocumentation Site

10.11. Working with ISOs

CloudStack supports ISOs and their attachment to guest VMs. An ISO is a read-only file that has an ISO/CD-ROM style file system. Users can upload their own ISOs and mount them on their guest VMs.
ISOs are uploaded based on a URL. HTTP is the supported protocol. Once the ISO is available via HTTP specify an upload URL such as http://my.web.server/filename.iso.
ISOs may be public or private, like templates.ISOs are not hypervisor-specific. That is, a guest on vSphere can mount the exact same image that a guest on KVM can mount.
ISO images may be stored in the system and made available with a privacy level similar to templates. ISO images are classified as either bootable or not bootable. A bootable ISO image is one that contains an OS image. CloudStack allows a user to boot a guest VM off of an ISO image. Users can also attach ISO images to guest VMs. For example, this enables installing PV drivers into Windows. ISO images are not hypervisor-specific.

10.11.1. Adding an ISO

To make additional operating system or other software available for use with guest VMs, you can add an ISO. The ISO is typically thought of as an operating system image, but you can also add ISOs for other types of software, such as desktop applications that you want to be installed as part of a template.
  1. Log in to the CloudStack UI as an administrator or end user.
  2. In the left navigation bar, click Templates.
  3. In Select View, choose ISOs.
  4. Click Add ISO.
  5. In the Add ISO screen, provide the following:
    • Name: Short name for the ISO image. For example, CentOS 6.2 64-bit.
    • Description: Display test for the ISO image. For example, CentOS 6.2 64-bit.
    • URL: The URL that hosts the ISO image. The Management Server must be able to access this location via HTTP. If needed you can place the ISO image directly on the Management Server
    • Zone: Choose the zone where you want the ISO to be available, or All Zones to make it available throughout CloudStack.
    • Bootable: Whether or not a guest could boot off this ISO image. For example, a CentOS ISO is bootable, a Microsoft Office ISO is not bootable.
    • OS Type: This helps CloudStack and the hypervisor perform certain operations and make assumptions that improve the performance of the guest. Select one of the following.
      • If the operating system of your desired ISO image is listed, choose it.
      • If the OS Type of the ISO is not listed or if the ISO is not bootable, choose Other.
      • (XenServer only) If you want to boot from this ISO in PV mode, choose Other PV (32-bit) or Other PV (64-bit)
      • (KVM only) If you choose an OS that is PV-enabled, the VMs created from this ISO will have a SCSI (virtio) root disk. If the OS is not PV-enabled, the VMs will have an IDE root disk. The PV-enabled types are:
        Fedora 13
        Fedora 12
        Fedora 11
        Fedora 10
        Fedora 9
        Other PV
        Debian GNU/Linux
        CentOS 5.3
        CentOS 5.4
        CentOS 5.5
        Red Hat Enterprise Linux 5.3
        Red Hat Enterprise Linux 5.4
        Red Hat Enterprise Linux 5.5
        Red Hat Enterprise Linux 6

      Note

      It is not recommended to choose an older version of the OS than the version in the image. For example, choosing CentOS 5.4 to support a CentOS 6.2 image will usually not work. In these cases, choose Other.
    • Extractable: Choose Yes if the ISO should be available for extraction.
    • Public: Choose Yes if this ISO should be available to other users.
    • Featured: Choose Yes if you would like this ISO to be more prominent for users to select. The ISO will appear in the Featured ISOs list. Only an administrator can make an ISO Featured.
  6. Click OK.
    The Management Server will download the ISO. Depending on the size of the ISO, this may take a long time. The ISO status column will display Ready once it has been successfully downloaded into secondary storage. Clicking Refresh updates the download percentage.
  7. Important: Wait for the ISO to finish downloading. If you move on to the next task and try to use the ISO right away, it will appear to fail. The entire ISO must be available before CloudStack can work with it.

10.11.2. Attaching an ISO to a VM

  1. In the left navigation, click Instances.
  2. Choose the virtual machine you want to work with.
  3. Click the Attach ISO button iso.png: Depicts adding an iso image
  4. In the Attach ISO dialog box, select the desired ISO.
  5. Click OK