Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加 openEuler 系统支持 #434

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

增加 openEuler 系统支持 #434

wants to merge 12 commits into from

Conversation

lbemi
Copy link
Contributor

@lbemi lbemi commented Mar 29, 2024

适配openEuler

ansible/roles/baremetal/tasks/install.yml Outdated Show resolved Hide resolved
ansible/roles/baremetal/tasks/install.yml Outdated Show resolved Hide resolved
ansible/roles/baremetal/tasks/pre-install.yml Outdated Show resolved Hide resolved
_ensure_lsb_release
DISTRO=$(lsb_release -si)
if [ $1 == "openEuler" ]; then
if [ -n "$(cat /etc/os-release | grep openEuler)" ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里获取系统的方式,是不是可以设置成通用的,所有系统都用这个?

@@ -99,10 +116,12 @@ function prep_work {
}

function cleanup {
if is_centos; then
if is_centos ; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不相关改动

yum clean all
elif is_ubuntu || is_debian; then
apt-get clean
elif is_openEuler; then
yum clean all && dnf clean all
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里,为啥同时有yum和dnf

@caoyingjunz caoyingjunz changed the title 适配openEuler 增加 openEuler 系统支持 Apr 2, 2024
@caoyingjunz caoyingjunz linked an issue Apr 2, 2024 that may be closed by this pull request
@caoyingjunz
Copy link
Collaborator

在readme的首页,加上 欧拉系统支持的说明,带上系统版本号

@caoyingjunz
Copy link
Collaborator

防火墙没关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

增加 openEuler 系统支持
2 participants