Add converted into rst fromat the following articles: * Windows image builder * Linux image builder * Uploading image to Glance * Lab preparation and system requiremnts added in installation section * SSL configuration Change-Id: I6b4c7e7e6670690e5722ea906e6464faff2a369b Signed-off-by: Ekaterina Fedorova <efedorova@mirantis.com>
2.6 KiB
Upload Image Into Glance
To deploy applications with Murano, virtual machine images should be uploaded into Glance in a special way - murano_image_info property should be set
Use the glance image-create command to import your disk image to Glance:
>$ 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:
Replace <NAME> with the name that users will refer to the disk image by. E.g. 'ws-2012-std'
Replace <IMAGE_FILE> with the local path to the image file to upload. E.g. 'ws-2012-std.qcow2'.
Replace <IMAGE_METADATA> with the following property string
murano_image_info='{"title": "Windows 2012 Standart Edition", "type": "windows.2012"}'
where
- title - user-friendly description of the image
- type - is a image type, for example 'windows.2012'
To update metadata of the existing image run the command:
>$ glance image-update <IMAGE-ID> --property <IMAGE_MATADATA>
Replace <IMAGE-ID> with image id from the previous command output.
Replace <IMAGE_METADATA> with murano_image_info property, e.g.
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:
- Image - ws-2012-std
- Title - My Prepared Image
- Type - Windows Server 2012
After these steps desired image can be chosen in application creation wizard.