Actions
Bug #32526
closedpassword for VMs is marked as required, while it is not
Difficulty:
trivial
Triaged:
Yes
Description
Ohai,
when configuring a Compute Profile for Azure, the UI indicates that the "password" field is required:
But in fact, nothing asserts it to be a non-empty string, which actually is good.
Azure only really requires the password if there is no ssh key configured, which the plugin actually does for us:
https://github.com/theforeman/foreman_azure_rm/blob/f317f0d3d409a7ad10231bdafa44ace90478ab5f/app/models/concerns/foreman_azure_rm/vm_extensions/managed_vm.rb#L194-L207
It copies both, the key added in the UI, but also an own key.
Updated by The Foreman Bot over 3 years ago
- Assignee set to Evgeni Golov
- Pull request https://github.com/theforeman/foreman_azure_rm/pull/118 added
Updated by Chris Roberts over 3 years ago
- Status changed from New to Resolved
- Target version set to 2.2.4
- Difficulty set to trivial
- Fixed in Releases 2.2.4 added
- Fixed in Releases deleted (
2.2.3)
Actions