diff options
| author | omnom62 <75066712+omnom62@users.noreply.github.com> | 2026-07-28 05:09:47 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-28 05:09:47 +1000 |
| commit | b0243027a73583eed7014ae924fbc79bb55577b5 (patch) | |
| tree | 822de31d5246309612f50c6a1c8b6f5717dba8eb /plugins/modules/vyos_user.py | |
| parent | 2e2a0f2da3df1a3197bef3c19d3e7deecf869759 (diff) | |
| parent | 17041b6f6953b993762854a67953fb35176b46e7 (diff) | |
| download | vyos.vyos-b0243027a73583eed7014ae924fbc79bb55577b5.tar.gz vyos.vyos-b0243027a73583eed7014ae924fbc79bb55577b5.zip | |
Merge branch 'main' into fix/black-formatting
Diffstat (limited to 'plugins/modules/vyos_user.py')
| -rw-r--r-- | plugins/modules/vyos_user.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py index 6ee6b3aa..6ca6f0c6 100644 --- a/plugins/modules/vyos_user.py +++ b/plugins/modules/vyos_user.py @@ -204,6 +204,7 @@ commands: """ import re +import shlex from copy import deepcopy from functools import partial @@ -275,7 +276,8 @@ def spec_to_commands(updates, module): add( commands, want, - "authentication plaintext-password %s" % want["configured_password"], + "authentication plaintext-password %s" + % shlex.quote(want["configured_password"]), ) return commands |
