diff options
author | Joshua Powers <josh.powers@canonical.com> | 2017-03-14 15:28:08 -0600 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-17 15:47:54 -0400 |
commit | 41950e902f5dd6cb3118280d3d27409812702e41 (patch) | |
tree | 892d617dab12876dd4b3e12e67cb1b43080e3bb4 /cloudinit | |
parent | a33447344eed897010603b3e8ea1fd122052de76 (diff) | |
download | vyos-cloud-init-41950e902f5dd6cb3118280d3d27409812702e41.tar.gz vyos-cloud-init-41950e902f5dd6cb3118280d3d27409812702e41.zip |
test: Adding integratiron test for password as list
This adds an integration test for setting passwords when given
as a list rather than a string. This also updates the docs and
tests so that Random is now RANDOM as is correct.
Diffstat (limited to 'cloudinit')
-rwxr-xr-x | cloudinit/config/cc_set_passwords.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py index 16117048..8440e593 100755 --- a/cloudinit/config/cc_set_passwords.py +++ b/cloudinit/config/cc_set_passwords.py @@ -47,7 +47,7 @@ enabled, disabled, or left to system defaults using ``ssh_pwauth``. chpasswd: list: | user1:password1 - user2:Random + user2:RANDOM user3:password3 user4:R @@ -57,7 +57,7 @@ enabled, disabled, or left to system defaults using ``ssh_pwauth``. chpasswd: list: - user1:password1 - - user2:Random + - user2:RANDOM - user3:password3 - user4:R """ |