Merge "image_file parameter not supported anymore"
This commit is contained in:
commit
a30232c68d
@ -26,9 +26,6 @@
|
||||
# Default cirros image URL (string value)
|
||||
#image_url = <None>
|
||||
|
||||
# Default cirros image filename (string value)
|
||||
#image_file = <None>
|
||||
|
||||
# Default cirros container format (string value)
|
||||
#container_format = <None>
|
||||
|
||||
@ -528,9 +525,6 @@
|
||||
# Default ubuntu image URL (string value)
|
||||
#image_url = <None>
|
||||
|
||||
# Default ubuntu image filename (string value)
|
||||
#image_file = <None>
|
||||
|
||||
# Default ubuntu container format (string value)
|
||||
#container_format = <None>
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The config parameter `image_file` is not available anymore.
|
||||
With this parameter, it was possible to configure the local path to the
|
||||
images that could be used to create either Cirros or Ubuntu VM instances.
|
||||
It is still possible to do this, using the existing parameter `image_url`:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
[cirros]
|
||||
image_url=file:///tmp/cirros.img
|
||||
|
||||
Internally, the `image_file` attribute is still part of the `UrlGlanceImageFixture` class
|
||||
and it indicates where the image file is saved locally.
|
@ -47,9 +47,9 @@ def get_images_options():
|
||||
[cfg.StrOpt('image_name',
|
||||
help="Default " + name + " image name"),
|
||||
cfg.StrOpt('image_url',
|
||||
help="Default " + name + " image URL"),
|
||||
cfg.StrOpt('image_file',
|
||||
help="Default " + name + " image filename"),
|
||||
help="Default " + name + " image URL. A local path "
|
||||
"could be defined. Example: "
|
||||
"file:///tmp/cirros.img"),
|
||||
cfg.StrOpt('container_format',
|
||||
help="Default " + name + " container format"),
|
||||
cfg.StrOpt('disk_format',
|
||||
|
@ -59,7 +59,6 @@ class UbuntuImageFixture(glance.CustomizedGlanceImageFixture):
|
||||
- iperf3 server listening on TCP port 5201
|
||||
"""
|
||||
image_url = CONF.tobiko.ubuntu.image_url
|
||||
image_file = CONF.tobiko.ubuntu.image_file
|
||||
image_name = CONF.tobiko.ubuntu.image_name
|
||||
disk_format = CONF.tobiko.ubuntu.disk_format or "qcow2"
|
||||
container_format = CONF.tobiko.ubuntu.container_format or "bare"
|
||||
|
Loading…
x
Reference in New Issue
Block a user