renamed .profile

This commit is contained in:
2026-07-24 14:13:54 -05:00
parent aff550d586
commit 246737d212
2 changed files with 4 additions and 4 deletions
+4 -4
View File
@@ -30,8 +30,8 @@ GIT_REPO_BRANCH="${1:-"development"}"
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}/etc/skel/.profile.d/ansible-venv.sh"
GIT_REPO_profile="${GIT_REPO_FILES}/.profile"
GIT_REPO_SKEL_ansible_venv_sh="${GIT_REPO_FILES}/etc/skel/.profile.d/ansible-venv.sh"
GIT_REPO_SKEL_profile="${GIT_REPO_FILES}/files/etc/skel/.profile"
GIT_REPO_ansible_pull_sh="${GIT_REPO_FILES}/ansible_pull_sh"
ETC_sudoers_d="/etc/sudoers.d"
@@ -163,10 +163,10 @@ get_file "${GIT_REPO_sudoers_d_hpf}" "${ETC_sudoers_d_hpf}" "root:root" "u=rw,go
create_directory "${SKEL_profile_d}" "root:root" "u=rwx,go="
# Get /etc/skel/.profile.d/ansible-venv.sh
get_file "${GIT_REPO_ansible_venv_sh}" "${SKEL_ansible_venv_sh}" "root:root" "u=rwx,go="
get_file "${GIT_REPO_SKEL_ansible_venv_sh}" "${SKEL_ansible_venv_sh}" "root:root" "u=rwx,go="
# Get /etc/skel/.profile
get_file "${GIT_REPO_profile}" "${SKEL_profile}" "root:root" "u=rw,go=r"
get_file "${GIT_REPO_SKEL_profile}" "${SKEL_profile}" "root:root" "u=rw,go=r"
# Create the hpf-ans user
system_useradd hpf-ans 800