Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions ui/src/views/infra/zone/ZoneWizardAddResources.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nvazquez
I see you removed archTypes from line 865.
is architectureTypes needed in the options ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed @weizhouapache

Expand Down
1 change: 1 addition & 0 deletions ui/src/views/infra/zone/ZoneWizardLaunchZone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading