Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click the New button on the main screen.
    The Create New Virtual Machine Wizard will open.
  2. Enter a Name for the virtual machine, archlinux, for example. 
    Select Linux as the Operating System
    Select Arch Linux as the Version. 
    Click Next to continue.
  3. Select the amount of memory needed by the operating system. 512 MB should be enough. Click Next to continue.

  4. Select Create a virtual hard drive now and click Create

  5. Select a hard disk format that is compatible with your hypervisors. See Template Compatibility Table.
    For example, for KVM hypervisors, you could select QCOW; for VMware hypervisors, you could select VMDK; and for Hyper-V, you could select VHD. 
  6. If required, select dynamic or fixed disk.
    1. Fixed Size will convert to other hypervisor formats more quickly than dynamically allocated.
    2. Dynamically allocated will produce a smaller disk file when the disk is not very full.
  7. Click Next to continue.
  8. Enter the Name of the virtual disk, archlinux would be a good name (VirtualBox will add an extension). You can also change the default path by clicking on the icon to the right of the text box.
    This disk will be the disk the Operating System will use. 
  9. We will now create a Virtual Disk of 2 GB; this is enough for basic tasks in an operating system. If you need to perform more complex tasks, do not hesitate to create bigger disks. Remember that disks of more than 2 GB will be broken into multiple parts by the browser upload in the UI. If you use manual upload for a larger disk, then you will need to create an OVF file for your disk.
    Enter 2.00 GB. Click Create to continue.
    A VM summary may display. 
  10. If required, click Create to continue.

Modify the VM for maximum hypervisor compatibility

The virtual machine we have just created must be modified and such a way You must now modify the VM so that it will work for several hypervisors. To modify the virtual machineVM, follow these steps:

  1. Select the archlinux virtual machine from the list in the left pane and click Settings.

Image Removed

Disable the Floppy

...

  1. Set the Boot Order 
    1. In the left pane click System. 
    2. In Boot Order, disable Floppy and Network.

...

    1. Image Added
  1. Enable the SCSI Controller
    1. In the left pane

...

    1. click Hard Disks. 
    2. Check Enable Additional Controller and select SCSI (LsiLogic).

...

    1. Image Added
  1. Mount the ISO
    1. Below Hard Disks in the left pane click on CD/DVD ROM.

...

    1.  
    2. Select the Mount CD/DVD Drive checkbox and select ISO Image File. 
    3. Select the ISO image downloaded at the beginning of the process in the combo box.

...

    1. Image Added
  1. Optionally Disable Audio
    1. If you do not require audio, click Audio

...

    1. Unselect Enable Audio

...

    1. Image Added
  1. Add Bridged Adapter
    1. Click Network and then on the Adapter 1 tab:

      ...

          1. Select Enable Network Adapter,

      ...

          1. Select the Adapter

      ...

          1. Type from the combo: choose *Intel PRO/1000 MT Server (82545EM)
            • Abiquo

      ...

            • also supports more network adapters, such as VIRTIO on KVM

      ...

          1. Change Attached to from its current value to Bridged Adapter

      ...

      ...

          1. Verify that Name points to an existing and valid Network Adapter Type in this host.
            Image Added
        1. Now go to Adapter 2 tab and REPEAT the same steps. You can choose the same Name for the Network Adapter Type.

      Image Removed

      1. Optionally disable USB
        1. Optionally go to USB and

      ...

        1. deselect Enable USB Controller. For valid settings choose a non-USB pointing device on the System tab.
      1. Click OK to finish.

      Install the operating system

      ...

      You can upload your template to Abiquothe cloud platform:

      • Using the UI:
        • supplying select a virtual machine VM disk, and completing the template details, such as CPU, RAM and disk capacity
        • supplying select an OVA file
        • uploading select an ISO file and reinstalling your virtual machine VM with the operating system from the ISO
      • Manually, as a virtual machine VM disk with an OVF file containing the template details required by Abiquo

      Export

      ...

      titleOVF ONLY for Manual Template Upload

      ...

      an OVA file

      To export an OVA file:

      1. In the main menu go to File > Export Appliance and select your appliance (In this example, archlinux). 
      2. Click Next to continue.

      Image Removed

      ...

      1. Image Added
      2. Enter the name of the File and path where VirtualBox will store the

      ...

      1. OVA
      2. Click Next
      3. Click Export
      Export an OVF file

      For manual upload to Abiquo, we will use a separate OVF descriptor.

      To export an OVF file and compressed virtual disk:

      1. In the main menu go to File > Export Appliance and select your appliance (In this example, archlinux). 
      2. Click Next to continue.
      3. Enter the name of the File and path where VirtualBox will store the OVF
      4. Change the file extension from .ova to .ovf. 
      5. Do not select the options to Write Legacy OVF 0.9 or Write manifest file. 
        Image Added
      6. Click Next to continue.

      Image Removed

      ...

      1. Enter the virtual machine details

      ...

        1. If you are using manual template upload, then you should complete at least the

      ...

        1. Description. 
        2. If possible, you should complete the other Product details too.
        VirtualBox will add these details to the OVF descriptor. Abiquo will read these details and display them to users

      ...

      1. for self-service access to templates.

      ...

      1. Image Added
      2. Click Export to start the conversion. The process can take several minutes, so please be patient.

      Edit the OVF File

      Info

      For details of Abiquo OVF support, see OVF Reference. Abiquo supports OVF files with multiple virtual machine disks

      If you will be manually uploading the OVF package to the appliance library, you can add an icon by defining it in the .ovf file.To prepare the OVF file for use by the Abiquo platform:

      1. Edit the .ovf file created by VirtualBox in the previous step

      ...

      1. Search for the ProductSection

      ...

        1. For Abiquo, the ProductSection holds the information about the template for display in the Apps library. It must contain:
          • Info
          • Product
          • Icon
            • ovf:fileRef: URL of the icon file
            • ovf:mimeType: jpeg, png or gif
            • ovf:width: pixels
            • ovf:height: pixels

      The ProductSection should be similar to the following example. Check the details of your virtual machine VM template and add the Icon details in the product section. The Icon URL must include a publicly visible IP address or domain name (not 127.0.0.1 or localhost).

      ...