To deploy applications with Murano, virtual machine images should be uploaded into Glance in a special way - murano_image_info property should be set.
$ glance image-create --name <NAME> --is-public true \
> --disk-format qcow2 --container-format bare \
> --file <IMAGE_FILE> --property <IMAGE_METADATA>
Replace the command line arguments to glance image-create with the appropriate values for your environment and disk image:
murano_image_info='{"title": "Windows 2012 Standart Edition", "type": "windows.2012"}'
where:
$ glance image-update <IMAGE_ID> --property <IMAGE_MATADATA>
murano_image_info='{"title": "Windows 2012 Standart Edition", "type": "windows.2012"}'
Warning
The value of the –property argument (named murano_image_info) is a JSON string. Only double quotes are valid in JSON, so please type the string exactly as in the example above.
Note
Already existing image could be marked in a simple way in Horizon UI with Murano dashboard installed. Navigate to Murano -> Manage -> Images -> Mark Image and fill up a form:
After these steps desired image can be chosen in application creation wizard.
Type Name | Description |
---|---|
windows.2012 | Windows Server 2012 |
linux | Generic Linux images, Ubuntu / Debian, RedHat / Centos, etc |
cirrus.demo | Murano demo image, based on CirrOS |