Skip to content

Commit

Permalink
chore(*): fix centos system deploy error (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzi502 authored Aug 22, 2021
1 parent 4af115c commit 7702ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ common::generate_domain_certs(){
echo ${REGISTRY_DOMAIN}-rootCA.crt >> /etc/ca-certificates.conf
update-ca-certificates >/dev/null
elif command -v update-ca-trust; then
cp {CERTS_DIR}/rootCA.crt /etc/pki/ca-trust/source/anchors/${REGISTRY_DOMAIN}-rootCA.crt
cp ${CERTS_DIR}/rootCA.crt /etc/pki/ca-trust/source/anchors/${REGISTRY_DOMAIN}-rootCA.crt
update-ca-trust force-enable >/dev/null
fi
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ system::centos::config_repo(){
}

system::centos::install_packages(){
yum_install libseccomp createrepo httpd-tools ${COMMON_PKGS}
system::yum_install libseccomp createrepo httpd-tools ${COMMON_PKGS}
}

system::debian::disable_firewalld(){
Expand Down

0 comments on commit 7702ffd

Please sign in to comment.