-
Notifications
You must be signed in to change notification settings - Fork 77
Improve access credential documentation #779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves the access credential documentation in the VM pages by clarifying that the user must exist before the access credentials will take effect.
- Added a note to specify that credentials only take effect if the associated user already exists.
- Updated documentation in versioned_docs for versions v1.5 and v1.4, as well as in the main docs directory.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
versioned_docs/version-v1.5/vm/access-to-the-vm.md | Added note on user existence requirement for credential activation |
versioned_docs/version-v1.4/vm/access-to-the-vm.md | Same note update to clarify credentials behavior |
docs/vm/access-to-the-vm.md | Updated note for consistency regarding pre-existing user requirement |
Comments suppressed due to low confidence (1)
docs/vm/access-to-the-vm.md:72
- This update strengthens the documentation by clarifying credential applicability; verify that similar notes in other parts of the documentation maintain the same terminology.
The user to be added must already exist; otherwise, the credentials will not take effect.
|
docs/vm/access-to-the-vm.md
Outdated
@@ -69,6 +69,7 @@ You can inject your access credentials via the Harvester dashboard as below: | |||
:::note | |||
|
|||
You need to enter the VM to edit password or remove SSH-Key after deleting the credentials from the UI. | |||
The user to be added must already exist; otherwise, the credentials will not take effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think of combining this with bullet point 3 above?
- Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add
opensuse
as the user and select your ssh keys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds great! Thanks for the comment!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review done
docs/vm/access-to-the-vm.md
Outdated
@@ -63,7 +63,7 @@ You can inject your access credentials via the Harvester dashboard as below: | |||
|
|||
1. Select the VM and click `⋮` button. | |||
2. Click the `Edit Config` button and go to the `Access Credentials` tab. | |||
3. Click to add either basic auth credentials or ssh keys, (e.g., add `opensuse` as the user and select your ssh keys if your guest OS is OpenSUSE). | |||
3. Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add `opensuse` as the user and select your ssh keys. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3. Click to add either basic auth credentials or ssh keys. The user to be added must already exist in the guest OS. E.g., if using OpenSUSE, add `opensuse` as the user and select your ssh keys. | |
3. Add either basic authentication credentials or SSH keys. | |
You can only add a user that already exists in the guest operating system. For example, if you are using openSUSE, you can add the user `opensuse` and select SSH keys. |
Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
Problem:
The Access Credentials in VM page only takes effect when the user exist, but currently the doc doesn't mention that.
Solution:
Improve the doc
Related Issue(s):
Test plan:
Additional documentation or context