Public Cloud ISO upload

On the public cloud there are default template images which you can use for your instances. The images are the default ones provided by the OS vendor, with small changes to optimise them agains the infrastructure.

If you wish to have your own custom ISO image uploaded, you can do this directly under the OpenStack API functions of glance:

glance image-create --progress --container-format bare --disk-format qcow2 --name uploadedXubuntu --file xubuntu-16.04.2-desktop-amd64.iso

+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 82336ffe43872a171ace79bbb1beae5b     |
| container_format | bare                                 |
| created_at       | 2017-06-18T10:10:18                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | f8ce68d9-b793-4035-bec0-fec28e51006b |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | uploadedXubuntu                      |
| owner            | b06e21b45b47459ba1e6fb3d6947b16c     |
| protected        | False                                |
| size             | 1299677184                           |
| status           | active                               |
| updated_at       | 2017-06-18T10:13:47                  |
| virtual_size     | None                                 |
+------------------+--------------------------------------+

This command will enable us to upload the ISO file to our OpenStack environment, it will appear under the list of glance images which is available.

Now we can simply create the instance from the ISO image which we have uploaded. This will spawn the instance and we can manage the ISO image initial installation via the VNC console.