From de830f87b0f505fe4d4938ebfa98de41c25901de Mon Sep 17 00:00:00 2001 From: Amit Uniyal Date: Fri, 5 Aug 2022 12:59:45 +0000 Subject: [PATCH] Adds img_config_drive in nova users docs Added img_config_drive property usuage in nova users config drive docs Closes-Bug: #1879066 Change-Id: I56be0b6cda51447813c0a97b01ccb48d0c898c20 --- doc/source/user/metadata.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/source/user/metadata.rst b/doc/source/user/metadata.rst index f5f39231ace9..65f5bddc966c 100644 --- a/doc/source/user/metadata.rst +++ b/doc/source/user/metadata.rst @@ -234,6 +234,17 @@ information about the format of the files and subdirectories within these directories. +Setting in image +~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: console + + $ openstack image set IMG-UUID --property img_config_drive=mandatory + +The img_config_drive image metadata property can be used to force enable the config drive. +Setting img_config_drive specifies whether the image needs a config drive. + + Nova metadata -------------