...
- Copy a sample Abiquo OVF file (e.g. OVF Reference#ExampleOVFDescriptor). Save the OVF file with the image file name and .ovf extension.
- Edit the OVF file according to the guidelines in OVF Reference#OVF for Abiquo.
- Remember that you need to enter the disk size. See Determine the size of a VM disk file
Upload VM Template Icons
This guide will explain how to upload icons to your Abiquo Server and use them in the Appliance Library. Abiquo recommends that you use square icon images with a size of 128x128 pixels. A transparent background also makes icons look better. The compatible image formats are PNG, JPG and GIF.
You will require root access to the Abiquo Server and the "Manage virtual machine templates from the appliance library" privilege in Abiquo. The Cloud Admin and Enterprise Admins have this privilege by default.
On the Abiquo Server, create a new directory under webapps and restart tomcat:
Code Block |
---|
# mkdir /opt/abiquo/tomcat/webapps/icons
# service abiquo-tomcat restart
|
Upload icons from your local machine to the Abiquo Server. Place your icons in the directory you created on the Abiquo Server. To upload them from your local machine, run the following command:
Code Block |
---|
user@mymachine:~$ scp <filename> root@<abiquo-server-ip>:/opt/abiquo/tomcat/webapps/icons/
|
...
For example, using the Tux icon (By lewing@isc.tamu.edu Larry Ewing and The GIMP, Attribution, https://commons.wikimedia.org/w/index.php?curid=80930) called "Tux.png" and the Abiquo Server has the IP address of "myabiquo.example.com" so the command will look as follows:
Code Block |
---|
user@mymachine:~$ scp Tux.png root@myabiquo.example.com:/opt/abiquo/tomcat/webapps/icons/
|
You can check if your icon is available by going to its web address in your browser. In our example, this will be:
Code Block |
---|
https://myabiquo.example.com/icons/Tux.png |
...
Add the icons to the VM templates. Log in to Abiquo and go to the Apps library. Select the VM template that you want to change the icon of. Select Edit.
Enter the URL of the template icon in the format "http://<abiquo-server-ip>/icons/<filename>", or the relative path. In our example this is:
Code Block |
---|
icons/Tux.png
|
...