From 83417251854159d28ed43ce0d7fecb9c6615ed92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 26 Aug 2022 21:43:45 +0200 Subject: [PATCH] [docs] Fix Ironic flavor creation command And also simplify it to a single command. Change-Id: I0e1a34711e4e0536d8d51002b316b011f2a22296 --- doc/source/reference/bare-metal/ironic-guide.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/reference/bare-metal/ironic-guide.rst b/doc/source/reference/bare-metal/ironic-guide.rst index 1354677959..44b23498f6 100644 --- a/doc/source/reference/bare-metal/ironic-guide.rst +++ b/doc/source/reference/bare-metal/ironic-guide.rst @@ -176,12 +176,12 @@ describes how to create Nova flavors for bare metal. For example: .. code-block:: console - openstack flavor create --ram 512 --disk 1 --vcpus 1 my-baremetal-flavor - openstack flavor set my-baremetal-flavor --property \ - resources:CUSTOM_BAREMETAL_RESOURCE_CLASS=1 \ - resources:resources:VCPU=0 \ - resources:resources:MEMORY_MB=0 \ - resources:resources:DISK_GB=0 + openstack flavor create my-baremetal-flavor \ + --ram 512 --disk 1 --vcpus 1 \ + --property resources:CUSTOM_BAREMETAL_RESOURCE_CLASS=1 \ + --property resources:VCPU=0 \ + --property resources:MEMORY_MB=0 \ + --property resources:DISK_GB=0 The :ironic-doc:`Ironic documentation ` describes how to enroll baremetal nodes and ports. In the following example ensure to