1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-03 13:47:01 +03:00

B #5692: default values NUMA (#1846)

This commit is contained in:
Jorge Miguel Lobo Escalona 2022-03-16 18:12:31 +01:00 committed by GitHub
parent f26b068e3f
commit d56d2f8c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
},