summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/set_password.yaml
blob: 04d7c58a934d26668d29529aa7d671e4b93127a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Set password of default user
#
required_features:
  - ubuntu_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