1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5692: default values NUMA (#1846)

(cherry picked from commit d56d2f8c9f94a0328c29d13337f47fe0a23a556f)
This commit is contained in:
Jorge Miguel Lobo Escalona 2022-03-16 18:12:31 +01:00 committed by Tino Vazquez
parent a4780db7a9
commit 7b259513b3
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -72,7 +72,7 @@ const PIN_POLICY = (hypervisor) => {
() =>
isFirecracker
? NUMA_PIN_POLICIES[2] // SHARED
: undefined // NONE
: NUMA_PIN_POLICIES[0] // NONE
),
fieldProps: { disabled: isVCenter || isFirecracker },
}
@ -109,7 +109,7 @@ const SOCKETS = (hypervisor) => ({
validation: number()
.notRequired()
.integer()
.default(() => undefined),
.default(() => 1),
fieldProps: {
disabled: hypervisor === firecracker,
},