anaconda: ks liveimg = instance_info/image_info

Fix typo. For anaconda deploy interface, ironic sets the
kickstart 'liveimg' command with the URL from the ironic node's
instance_info's "image_url" value [1], and that "image_url"
value is added by ironic code, using the "image_info" value.
We don't have code that uses any "liveimg_url" value.

[1] https://opendev.org/openstack/ironic/src/commit/
3d3a67daf7d2969d8da691d12351ab5bb32eca80/ironic/common/
pxe_utils.py#L1003

Change-Id: Ic8ce5fa83768c2632eb190cd87dbf81062c7083a
This commit is contained in:
Ruby Loo 2022-08-11 14:23:34 +00:00
parent 3d3a67daf7
commit bd8e482392
1 changed files with 5 additions and 3 deletions

View File

@ -187,7 +187,8 @@ as it accounts for the particular stages and appropriate callbacks to
Ironic.
.. warning::
The default template expects a ``instance_info\liveimg_url`` setting to
The default template (for the kickstart 'liveimg' command) expects an
``instance_info\image_info`` setting to
be provided by the user, which serves as a base operating system image.
In the context of the anaconda driver, it should be thought of almost
like "stage3". If you're using a custom template, it may not be required,
@ -201,12 +202,13 @@ Ironic.
--instance_info ks_template=<URL>
If you do choose to use a liveimg with a customized template, or if you wish
to use the stock template with a liveimg, you will need to provide parameter.
to use the stock template with a liveimg, you will need to provide this
setting.
.. code-block:: shell
baremetal node set <node> \
--instance_info liveimg_url=<URL>
--instance_info image_info=<URL>
.. warning::
This is required if you do *not* utilize a customised template. As in use