summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-06-26 06:17:11 +1000
committerGitHub <noreply@github.com>2026-06-26 06:17:11 +1000
commitea453e467edbf0d5c29f098a06ee4bb5b9a73014 (patch)
treef1b40f48e3220077d3db19885b828ef0203aabee /plugins
parentc7fa0a23524bcfbd74be903948f593fcc6fe3f93 (diff)
parent6d7a2184e970624f74f333931f7f70a1f900f7b5 (diff)
downloadvyos.vyos-ea453e467edbf0d5c29f098a06ee4bb5b9a73014.tar.gz
vyos.vyos-ea453e467edbf0d5c29f098a06ee4bb5b9a73014.zip
Merge branch 'main' into test/lldp-interfaces-unit-tests
Diffstat (limited to 'plugins')
-rw-r--r--plugins/modules/vyos_user.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index d2f23509..e47f5a05 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -205,6 +205,7 @@ commands:
"""
import re
+import shlex
from copy import deepcopy
from functools import partial
@@ -276,7 +277,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