Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jun 14, 2018
1 parent 11e312d commit e15204a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/nam/roles/virtual-machine-server.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function main()
if [[ "$(existUserLogin "${firstLoginUser}")" = 'true' ]]
then
addUserToSudoWithoutPassword "${firstLoginUser}"
autoSudo "${firstLoginUser}" "$(getProfileFilePath "${firstLoginUser}")"
autoSudo "${firstLoginUser}" "$(basename "$(getProfileFilePath "${firstLoginUser}")")"
addUserAuthorizedKey "${firstLoginUser}" "${firstLoginUser}" "$(cat "${appFolderPath}/../files/authorized_keys")"
fi

Expand Down

0 comments on commit e15204a

Please sign in to comment.