stages/users: Explicitly create a home directory
On distributions such as Arch Linux the home directory is not created by default.
This commit is contained in:
parent
5b3ebd7912
commit
f965ca8510
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ def useradd(root, name, uid=None, gid=None, groups=None, description=None, home=
|
|||
arguments += ["--comment", description]
|
||||
if home:
|
||||
arguments += ["--home-dir", home]
|
||||
arguments += ["--create-home"]
|
||||
if shell:
|
||||
arguments += ["--shell", shell]
|
||||
if password is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue