summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_cloudsigma.py
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2016-12-03 21:29:45 -0500
committerLars Kellogg-Stedman <lars@redhat.com>2016-12-03 21:33:50 -0500
commitcbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e (patch)
tree1b1349ae230e889718e420ce3f2b10ded7aa9c09 /tests/unittests/test_datasource/test_cloudsigma.py
parent166df605dc9864eb163007300db7a611feb309d6 (diff)
downloadvyos-cloud-init-cbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e.tar.gz
vyos-cloud-init-cbf93eb4ae9fba0797ab4ae7d62bc0d64611fa7e.zip
when adding a user, strip whitespace from group list
The documentation shows group names in the 'groups:' key delimited by ", ", but this will result in group names that contain spaces. This can cause the 'groupadd' or 'useradd' commands to fail. This patch ensures that we strip whitespace from either end of the group names passed to the 'groups:' key. LP: #1354694
Diffstat (limited to 'tests/unittests/test_datasource/test_cloudsigma.py')
0 files changed, 0 insertions, 0 deletions