Skip to content

Commit

Permalink
Fix 'no_create_home ' for users. Fixes #76
Browse files Browse the repository at this point in the history
  • Loading branch information
jf committed Jan 1, 2022
1 parent 300dabb commit c601eaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _create_user(self, item, osutils):

public_keys = item.get('ssh_authorized_keys', [])
should_create_home = (public_keys or
not item.get('no_create_home ', False))
not item.get('no_create_home', False))
if user_disabled and should_create_home:
raise exception.CloudbaseInitException(
"The user is required to be enabled if public_keys "
Expand Down

0 comments on commit c601eaf

Please sign in to comment.