Skip to content
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

Add hint to generate encrypted password #87

Merged
merged 1 commit into from
Jun 27, 2024
Merged
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
10 changes: 10 additions & 0 deletions docs/user-guide/01-blueprint-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,16 @@ An *optional* list of objects that contain the following attributes:

*Note: If the password starts with $6$, $5$, or $2b$ it will be stored as an encrypted password. Otherwise it will be treated as a plain text password.*

To generate an encrypted password you might want to use `openssl`:
```shell
openssl passwd -6
```

or `mkpasswd`
``` shell
mkpasswd -m sha-512
```

Add a user to the image, and/or set their ssh key. All fields for this section are optional except for the name. The following is a complete example:

<Tabs values={tabValuesWithBootc} >
Expand Down