changed to just replace skeletion .profile

This commit is contained in:
2026-07-24 13:56:54 -05:00
parent 438c4d2100
commit 716ac04c4f
3 changed files with 36 additions and 8 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ GIT_REPO_FILES="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files"
GIT_REPO_sudoers_d_hpf="${GIT_REPO_FILES}/sudoers_d_hpf"
GIT_REPO_ansible_venv_sh="${GIT_REPO_FILES}/profile_d_ansible_venv_sh"
GIT_REPO_profile_append="${GIT_REPO_FILES}/profile_append"
GIT_REPO_profile="${GIT_REPO_FILES}/.profile"
GIT_REPO_ansible_pull_sh="${GIT_REPO_FILES}/ansible_pull_sh"
ETC_sudoers_d="/etc/sudoers.d"
@@ -166,7 +166,7 @@ create_directory "${SKEL_profile_d}" "root:root" "u=rwx,go="
get_file "${GIT_REPO_ansible_venv_sh}" "${SKEL_ansible_venv_sh}" "root:root" "u=rwx,go="
# Get /etc/skel/.profile
get_file "${GIT_REPO_profile_append}" "${SKEL_profile}" "root:root" "u=rw,go=r"
get_file "${GIT_REPO_profile}" "${SKEL_profile}" "root:root" "u=rw,go=r"
# Create the hpf-ans user
system_useradd hpf-ans 800