Skip to content

Commit

Permalink
doc: redact storage, fix invalid user/chpasswd schema
Browse files Browse the repository at this point in the history
  • Loading branch information
blackboxsw committed Jul 24, 2024
1 parent 63bafd5 commit d22f491
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions doc/rtd/explanation/about-cloud-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,6 @@ examples that can be copy/pasted and adapted to your needs.
hostname: example-host
fqdn: example-host.example.com
# Configure storage
storage:
files:
- path: /etc/example_file.txt
content: |
Some text to be stored in the file
- path: /etc/example_script.txt
content: |
#!/bin/bash
echo "Some text to be run in the script"
# User setup configuration
users:
- name: exampleuser
Expand All @@ -111,9 +100,11 @@ examples that can be copy/pasted and adapted to your needs.
ssh_authorized_keys:
- ssh-rsa AAAAB3...restofpublickey user@host
# Change passwords using chpasswd
# Change passwords for exampleuser using chpasswd
chpasswd:
exampleuser: terriblepassword12345
expire: false
users:
- {name: exampleuser, password: terriblepassword12345, type: text}
# Package management
package_update: true
Expand Down

0 comments on commit d22f491

Please sign in to comment.