Use '--visibility' instead of '--is-public'
Glance v1 is deprecated, '--is-public' is unavailable in glance v2, this change will use '--visibility' instead in jeos_building.rst. Change-Id: Iacd77ef317044ce6ebc32a2882fb4b92bf02c4e3
This commit is contained in:
parent
6c893e2e02
commit
c310070b82
@ -44,7 +44,7 @@ To create a heat-cfntools enabled image with the current release of Fedora x86_6
|
|||||||
The image may then be pushed to glance, e.g::
|
The image may then be pushed to glance, e.g::
|
||||||
|
|
||||||
source ~/.openstack/keystonerc
|
source ~/.openstack/keystonerc
|
||||||
glance image-create --name fedora-heat-cfntools --is-public true --disk-format qcow2 --container-format bare < fedora-heat-cfntools.qcow2
|
glance image-create --name fedora-heat-cfntools --visibility public --disk-format qcow2 --container-format bare < fedora-heat-cfntools.qcow2
|
||||||
|
|
||||||
To create a heat-cfntools enabled image with the current release of Ubuntu i386::
|
To create a heat-cfntools enabled image with the current release of Ubuntu i386::
|
||||||
|
|
||||||
@ -81,4 +81,4 @@ you can follow the steps bellow to build a fedora based image::
|
|||||||
The image may then be pushed to glance, e.g::
|
The image may then be pushed to glance, e.g::
|
||||||
|
|
||||||
source ~/.openstack/keystonerc
|
source ~/.openstack/keystonerc
|
||||||
glance image-create --name=fedora-software-config --is-public=true --disk-format=qcow2 --container-format=bare < fedora-software-config.qcow2
|
glance image-create --name=fedora-software-config --visibility public --disk-format=qcow2 --container-format=bare < fedora-software-config.qcow2
|
||||||
|
Loading…
Reference in New Issue
Block a user