UI: Add cluster arch type to the zone creation wizard (#10080)

* UI: Add cluster arch type to the zone creation wizard

* Remove unused field

* Fix github lint action

* Remove unused option key
This commit is contained in:
Nicolas Vazquez 2025-01-02 12:20:04 +01:00 committed by GitHub
parent 41c27e116c
commit 3d0b4fca84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View File

@ -192,6 +192,13 @@ export default {
placeHolder: 'message.error.cluster.name',
required: true
},
{
title: 'label.arch',
key: 'arch',
required: false,
select: true,
options: this.architectureTypes
},
{
title: 'label.vcenter.host',
key: 'vCenterHost',
@ -846,6 +853,13 @@ export default {
primaryStorageScopes: [],
primaryStorageProtocols: [],
primaryStorageProviders: [],
architectureTypes: [{
id: 'x86_64',
description: 'AMD 64 bits (x86_64)'
}, {
id: 'aarch64',
description: 'ARM 64 bits (aarch64)'
}],
storageProviders: [],
currentStep: null,
options: ['primaryStorageScope', 'primaryStorageProtocol', 'provider', 'primaryStorageProvider']

View File

@ -1283,6 +1283,7 @@ export default {
if (this.isEdgeZone) {
clusterName = 'Cluster-' + this.stepData.zoneReturned.name
}
params.arch = this.prefillContent?.arch || null
if (hypervisor === 'VMware') {
params.username = this.prefillContent?.vCenterUsername || null