1 |
When creating a user with no additional groups, don't print a misleading message |
2 |
saying the user will be created with an equals sign in the username. |
3 |
--- |
4 |
catalyst/base/stagebase.py | 2 +- |
5 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6 |
|
7 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
8 |
index d4875491..9814ebcc 100644 |
9 |
--- a/catalyst/base/stagebase.py |
10 |
+++ b/catalyst/base/stagebase.py |
11 |
@@ -947,7 +947,7 @@ class StageBase(TargetBase, ClearBase, GenBase): |
12 |
uacmd = ["useradd", "-R", self.settings['chroot_path'], "-m", x] |
13 |
if grp != '': |
14 |
uacmd = ["useradd", "-R", self.settings['chroot_path'], "-m", "-G", grp, usr] |
15 |
- log.notice("Creating user: '%s'", f"{usr}={grp}") |
16 |
+ log.notice("Creating user: '%s' in group(s): %s", usr, grp) |
17 |
cmd(uacmd, env=self.env) |
18 |
|
19 |
def ssh_public_keys(self): |
20 |
-- |
21 |
2.35.1 |