Versions Compared

Key

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

...

  1. 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
    


  2. 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/
    


    Expand

       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



  3. 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.

  4. 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
    

    Then click Validate. You should now see the new image beneath the URL.
    Click Save to store the template with the new icon. 
    You're done. Now your virtual machine template has a new look!

API Upload

See Appliance Manager Template API Upload and Download