summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/set_password.yaml
blob: 8fa46d9f4b37efc63f7078f5495625414ea07d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Set password of default user
#
cloud_config: |
  #cloud-config
  password: password
  chpasswd: { expire: False }
  ssh_pwauth: True
collect_scripts:
  shadow: |
    #!/bin/bash
    cat /etc/shadow
  sshd_config: |
    #!/bin/bash
    grep '^PasswordAuth' /etc/ssh/sshd_config

# vi: ts=4 expandtab