Skip to content

Commit 843eb59

Browse files
authored
Update glance image create howto section (#290)
1 parent 6560dfb commit 843eb59

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

user/pages/03.Howtos/07.upload-images/docs.en.md

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,14 @@ There are three different ways to upload custom images.
2121
### OpenStack-CLI
2222

2323
You need to have the [OpenStack-CLI](../../03.Howtos/02.openstack-cli/docs.en.md) installed and configured.
24+
Download an image you want to use, e.g. an [Ubuntu cloud image](https://cloud-images.ubuntu.com).
2425
After [sourcing the openrc.sh](../../02.Tutorials/02.api-access/docs.en.md) you can easily upload your own image and use it right after, like this:
2526

2627
```shell
27-
glance --os-image-api-version 1 image-create --progress --is-public False --disk-format=qcow2 \
28-
--container-format=bare --property architecture=x86_64 --name="Debian Stretch" \
29-
--location https://cdimage.debian.org/cdimage/openstack/current-9/debian-9-openstack-amd64.qcow2
28+
openstack image create --progress --private --disk-format=qcow2 --container-format=bare \
29+
--property architecture=x86_64 --name="Ubuntu Noble" --file noble-server-cloudimg-amd64.img
3030
```
3131

32-
### Heat-Template
33-
34-
It is also possible to upload images with heat.
35-
An example can look like this:
36-
37-
```yaml
38-
heat_template_version: 2016-04-08
39-
40-
description: Simple template to upload an image
41-
42-
resources:
43-
glance_image:
44-
type: OS::Glance::Image
45-
properties:
46-
container_format: bare
47-
disk_format: qcow2
48-
name: Debian Stretch
49-
location: https://cdimage.debian.org/cdimage/openstack/current-9/debian-9-openstack-amd64.qcow2
50-
```
51-
52-
Further information can be found [here](https://cloud.syseleven.de/horizon/project/resource_types/OS::Glance::Image/).
53-
5432
## Image sources
5533

5634
!!! [This overview](../../04.Reference/06.images/docs.en.md#image-sources) contains a list of standard images sources.

0 commit comments

Comments
 (0)