From: Chandan Babu R <chandanbabu@kernel.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>, kdevops@lists.linux.dev
Subject: Re: [PATCH] terraform/oci: Add VM.Standard.x86.Generic shape to available options
Date: Thu, 08 May 2025 18:37:10 +0530 [thread overview]
Message-ID: <87ikmbmepa.fsf@debian-BULLSEYE-live-builder-AMD64> (raw)
In-Reply-To: <aBud5-GXoHIDO2I_@bombadil.infradead.org>
On Wed, May 07, 2025 at 10:52:39 AM -0700, Luis Chamberlain wrote:
> On Wed, May 07, 2025 at 01:33:07PM -0400, Chuck Lever wrote:
>> On 5/7/25 1:05 PM, Luis Chamberlain wrote:
>> > On Wed, May 07, 2025 at 03:25:16PM +0530, Chandan Babu R wrote:
>> >> The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel
>> >> developers. This commit adds this shape to the list of available flexible
>> >> shapes.
>> >>
>> >> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
>> >> ---
>> >> Chuck,
>> >>
>> >> Kconfig's "choice" construct does not allow "free text" to be
>> >> entered. Hence, I had to add the new entry as a choice.
>> >
>> > You can resolve this as follows?
>> >
>> > diff --git a/terraform/oci/kconfigs/shapes/Kconfig.flex b/terraform/oci/kconfigs/shapes/Kconfig.flex
>> > index c2b3f5719c48..e8d0860aac67 100644
>> > --- a/terraform/oci/kconfigs/shapes/Kconfig.flex
>> > +++ b/terraform/oci/kconfigs/shapes/Kconfig.flex
>> > @@ -73,6 +73,7 @@ endchoice
>> > config TERRAFORM_OCI_SHAPE
>> > string
>> > output yaml
>> > + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC
>> > default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX
>> > default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX
>> > default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEX
>>
>> I'm able to select the VM.Standard.x86.Generic shape by going to
>>
>> Bring up methods -> Node bring up methods
>>
>> Choose Terraform then OCI, then
>>
>> Compute -> OCI shape family
>>
>> and choose "Generic"
>>
>> Is that not working?
>
> Oh never mind, I thought Chandan had an issue with using kconfig choice
> to map to string. If the respective string is already populated my
> recomendaiton is nonsense :)
>
Sorry, it was my mistake. I did not check the options under "Generic Shapes".
Sorry once again.
--
Chandan
next prev parent reply other threads:[~2025-05-08 13:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 9:55 [PATCH] terraform/oci: Add VM.Standard.x86.Generic shape to available options Chandan Babu R
2025-05-07 13:56 ` Chuck Lever
2025-05-07 17:05 ` Luis Chamberlain
2025-05-07 17:33 ` Chuck Lever
2025-05-07 17:52 ` Luis Chamberlain
2025-05-08 13:07 ` Chandan Babu R [this message]
2025-05-08 13:11 ` Chuck Lever
2025-05-08 14:27 ` Chandan Babu R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ikmbmepa.fsf@debian-BULLSEYE-live-builder-AMD64 \
--to=chandanbabu@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=kdevops@lists.linux.dev \
--cc=mcgrof@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox