Skip to content

Commit a8bec13

Browse files
committed
Improved UI with ssh username input.
1 parent 257fdce commit a8bec13

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

terraform.tfvars.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ controller_disk_size = 25
2020

2121
ssh_public_key = "{{ cluster_user_ssh_public_key }}"
2222
# ssh_user = "cloud-user"
23-
ssh_user = "{{ 'cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }}"
23+
# ssh_user = "{{ 'cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }}"
2424

2525

2626
storage_count = "3"

ui-meta/multinode-infra-appliance.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ logo: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAAgACAYAAACyp9MwAAAAAXNS
8787
# A list of parameters to be gathered from the user
8888
parameters:
8989
- name: vxlan_vni
90-
label: Set the VXLAN VNI value.
90+
label: Set VXLAN VNI.
9191
description: Please provide a VXLAN VNI. A unique value from 1 to 100,000.
9292
kind: "integer"
9393
required: true
@@ -100,7 +100,7 @@ parameters:
100100

101101
- name: ans_vlt_pwd
102102
# A human-readable name for the parameter. Defaults to the name if not given.
103-
label: Provide the Ansible Vault password.
103+
label: Ansible Vault password.
104104
# An optional short description for the parameter.
105105
description: Please provide the Ansible Vault password to enable the deployment of the cluster.
106106
kind: "string"
@@ -123,39 +123,39 @@ parameters:
123123
immutable: true
124124

125125
- name: openstack_version
126-
label: OpenStack GitHub Branch name.
127-
description: Please provide the OpenStack GitHub Branch name you wish to deploy.
126+
label: OpenStack GitHub Branch.
127+
description: >
128+
Please provide the OpenStack GitHub Branch name you wish to deploy.
129+
i.e. stackhpc/yoga (for https://github.com/stackhpc/stackhpc-kayobe-config/tree/stackhpc/yoga)
128130
kind: "string"
129131
required: false
130132
default: "stackhpc/yoga"
131133
immutable: true
132134

133135

134136
- name: multinode_image
135-
label: Select the OpenStack version to deploy.
136-
description: Please select the OpenStack version to deploy.
137-
kind: "choice"
138-
options:
139-
choices:
140-
- "Ubuntu-22.04-lvm"
141-
- "rocky9-lvm"
137+
label: Operating system image.
138+
description: >
139+
Please provide the OS you wish to deploy on this multinode infrastructure.
140+
The image must be available in the OpenStack tenancy, two supported images are:
141+
- Ubuntu-22.04-lvm
142+
- rocky9-lvm
143+
kind: "string"
142144
required: true
143145
default: "rocky9-lvm"
144146
immutable: true
145147

146-
# - name: multinode_image
147-
# label: Select the OpenStack version to deploy.
148-
# description: Please select the OpenStack version to deploy.
149-
# kind: "choice"
150-
# options:
151-
# choices:
152-
# - "Ubuntu-22.04-lvm"
153-
# - "rocky9-lvm"
154-
# required: true
155-
# default: "rocky9-lvm"
156-
# immutable: true
157-
158-
148+
- name: ssh_user
149+
label: Operating system SSH username.
150+
description: >
151+
Please select the OS username in order to connect to the infrastructure.
152+
Examples are:
153+
- ubuntu (Ubuntu-22.04-lvm)
154+
- cloud_user (rocky9-lvm)
155+
kind: "string"
156+
required: true
157+
default: "cloud_user"
158+
immutable: false
159159

160160
# - name: openstack_version
161161
# label: Select the OpenStack version to deploy.
@@ -176,7 +176,6 @@ parameters:
176176
# A template describing the usage of the appliance
177177
# This is rendered in the "Cluster details" modal in the Azimuth UI
178178
usage_template: |-
179-
# METHOD 1
180179
# Accessing the cluster
181180
182181
To assess the clusters, use the following ssh commands:

0 commit comments

Comments
 (0)