vars: fix formatting in guide

This commit is contained in:
DavHau
2025-01-11 20:17:03 +07:00
parent 00e9ef28fd
commit 9df9e97970

View File

@@ -11,17 +11,19 @@ This guide assumes
- a machine has been added to the clan (see [Adding Machines](./adding-machines.md)) - a machine has been added to the clan (see [Adding Machines](./adding-machines.md))
This section will walk you through the following steps: This section will walk you through the following steps:
1. declare a `generator` in the machine's nixos configuration 1. declare a `generator` in the machine's nixos configuration
1. inspect the status via the clan cli 2. inspect the status via the clan cli
1. generate the vars 3. generate the vars
1. observer the changes 4. observer the changes
1. update the machine 5. update the machine
1. share the root password between machines 6. share the root password between machines
1. change the password 7. change the password
## Declare the generator ## Declare the generator
In this example, a `vars` `generator` is used to: In this example, a `vars` `generator` is used to:
- prompt the user for the password - prompt the user for the password
- run the required `mkpasswd` command to generate the hash - run the required `mkpasswd` command to generate the hash
- store the hash in a file - store the hash in a file