Dmitry Tantsur d7a5b3469c Fix ramdisk boot option handling
The current ramdisk deploy code expects a user to set the boot_option
capability to "ramdisk". Not only is it redundant, it's also not
documented, so chances are high nobody has ever done that.

As a side effect of e6bb99cd8ff94a24c3f2108e649c7ca39189d220 boot
interfaces no longer validate kernel/ramdisk/image if boot option
is "local". Unless a user explicitly sets boot option to "ramdisk",
the validation will be skipped for the ramdisk deploy.

This patch follows the pattern of the anaconda deploy and makes
get_boot_option always return "ramdisk" for the ramdisk deploy.

In the future we need to refactor this code so that the deploy interface
provides the boot option it works with, but that is a lot of changes.

Change-Id: I25c28df048c706f0c5b013b4d252f09d5a7e57bd
2021-06-23 12:58:33 +02:00
..
2021-06-10 07:04:15 -07:00
2021-06-23 12:58:33 +02:00
2020-03-31 13:40:00 +00:00
2021-06-23 12:58:33 +02:00
2017-03-02 13:48:18 +02:00