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

wizard模版中setup.sh文件获取Linux x86_64等类型的处理 #316

Closed
laochen opened this issue Sep 20, 2023 · 1 comment
Closed

wizard模版中setup.sh文件获取Linux x86_64等类型的处理 #316

laochen opened this issue Sep 20, 2023 · 1 comment

Comments

@laochen
Copy link

laochen commented Sep 20, 2023

acl/app/wizard/tmpl/http/setup.sh
acl/app/wizard/tmpl/master/setup.sh

function guess_os() {
     os_name=`uname -s`
     os_type=`uname -p`

uname -p 好像改成 uname -m 好一点, 腾讯云他们弄的opencloudos 操作系统, 用 uname -p 输出为 ‘unknown’
用uname -m 都会输出 x86_64 ,兼容性强一点

@zhengshuxin
Copy link
Member

是的,已经修改了,谢谢。

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

No branches or pull requests

2 participants