10 Star 0 Fork 12

src-openEuler / KubeOS

 / 详情

kbimg.sh脚本未校验Global.cfg配置有效性

已完成
缺陷
创建于  
2022-08-22 14:55

【问题复现步骤】
1、删除Global.cfg配置中的ip配置或网卡/磁盘设备配置
2、执行bash kbimg.sh create pxe-image -p xxx.repo -v v1 -b ../bin/os-agent -e '''$1$xyz$RdLyKTL32WEvK3lg8CXID0'''制作物理机PXE安装所需的镜像和文件

【预期结果】
1、kbimg.sh脚本检查Global.cfg配置文件是否存在。
2、kbimg.sh脚本应对Global.cfg文件中的配置项做必要的校验,比如配置项是否存在/配置项是否被注释/值是否为空等。

【实际结果】
kbimg.sh脚本未对Global.cfg配置文件做任何校验

评论 (1)

哦那真是一级棒 创建了缺陷

Hi oh_thats_great, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-CloudNative, and any of the maintainers: @yangzhao_kl , @weibaohui , @biannm , @pixiake , @haomintsai , @Jianmin , @haozi007

openeuler-ci-bot 添加了
 
sig/sig-CloudNative
标签
哦那真是一级棒 修改了描述
liyuanr 通过src-openeuler/KubeOS Pull Request !31任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/KubeOS.git
git@gitee.com:src-openeuler/KubeOS.git
src-openeuler
KubeOS
KubeOS

搜索帮助