CreateImageWizard: redesign registration step
Update the registration options to include registering without insights. Also, improve the text info in the step. The org id is also removed from the registration step since we no longer display the id in this step.
This commit is contained in:
parent
3571c969ce
commit
e48e2ca659
5 changed files with 165 additions and 113 deletions
|
|
@ -16,11 +16,19 @@ const onSave = (values) => {
|
|||
packages: values['selected-packages']?.map(p => p.name),
|
||||
};
|
||||
|
||||
if (values['subscription-activation']) {
|
||||
if (values['register-system'] === 'register-now-insights') {
|
||||
customizations.subscription = {
|
||||
'activation-key': values['subscription-activation'],
|
||||
'activation-key': values['subscription-activation-key'],
|
||||
insights: true,
|
||||
organization: Number(values['subscription-organization']),
|
||||
organization: Number(values['subscription-organization-id']),
|
||||
'server-url': 'subscription.rhsm.redhat.com',
|
||||
'base-url': 'https://cdn.redhat.com/',
|
||||
};
|
||||
} else if (values['register-system'] === 'register-now') {
|
||||
customizations.subscription = {
|
||||
'activation-key': values['subscription-activation-key'],
|
||||
insights: false,
|
||||
organization: Number(values['subscription-organization-id']),
|
||||
'server-url': 'subscription.rhsm.redhat.com',
|
||||
'base-url': 'https://cdn.redhat.com/',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue