summaryrefslogtreecommitdiff
path: root/tests/unittests/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-08-15 13:16:01 -0400
committerScott Moser <smoser@ubuntu.com>2013-08-15 13:16:01 -0400
commite668da729a0f9cd5d93d909a9b44d74cf6925dd5 (patch)
treebb62740b8419b24d7a424cf6034679cb34763596 /tests/unittests/__init__.py
parentc09cb99dbee54745f06583d9ff0ea4b91e8b087e (diff)
downloadvyos-cloud-init-e668da729a0f9cd5d93d909a9b44d74cf6925dd5.tar.gz
vyos-cloud-init-e668da729a0f9cd5d93d909a9b44d74cf6925dd5.zip
do not set 'password', but set 'passwd' to crypt'd value
'password' was the wrong key. It should have been setting the default user's "plain_text_password". Instead of doing that, though, we're encrypting the value and putting it in 'passwd', which will then be passed on to useradd. The key value in doing this is that the plain text password will not be stored in obj.pkl. (admittedly it is still in plain text in the ovf-env.xml file).
Diffstat (limited to 'tests/unittests/__init__.py')
0 files changed, 0 insertions, 0 deletions