-
Notifications
You must be signed in to change notification settings - Fork 491
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
[BUG]虚拟机自定义数据失败 #19983
Labels
Comments
镜像中的umask 0022 |
收到,的确可能是umask的问题 |
github-actions
bot
added
state/awaiting user feedback
and removed
state/awaiting processing
labels
Apr 15, 2024
#19987 这个PR在 release/3.11 修复,请等待下次升级 |
If you do not provide feedback for more than 37 days, we will close the issue and you can either reopen it or submit a new issue. 您超过 37 天未反馈信息,我们将关闭该 issue,如有需求您可以重新打开或者提交新的 issue。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述/What happened:
通过cloudpods纳管vmware,创建虚拟机并自定义数据,自定义数据内容未执行成功
环境/Environment:
问题分析:
创建的虚拟机使用镜像CentOS-7-x86_64-GenericCloud-2009.qcow2,随机生成root密码,虚拟机创建完成后,登录虚拟机使用journalctl命令查看发现报错Failed at step EXEC spawning /etc/userdata.sh: Permission denied,查看/etc/userdata.sh内容,发现其包含创建虚拟机时高级设置-自定义数据中填写的内容,判断虚拟机需要执行该脚本来实现自定义数据中填写的内容。但通过ls -l /etc/userdata.sh发现该脚本文件权限为600,没有可执行权限。不知道是否为代码问题。
The text was updated successfully, but these errors were encountered: