Bug 18728 - [anolis 8.10][vhd]缺少 /etc/cloud/cloud.cfg文件
Summary: [anolis 8.10][vhd]缺少 /etc/cloud/cloud.cfg文件
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.10
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wangzhe
QA Contact: shuming
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2025-02-11 14:33 UTC by gitpush
Modified: 2025-03-18 10:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2025-02-11 14:33:54 UTC
描述:本次的vhd都报这个错,缺少cloud配置文件

环境:

[root@localhost ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.10"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.10"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.10"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

执行过程:
['cat: /etc/cloud/cloud.cfg: No such file or directory']
Comment 1 lv0322 alibaba_cloud_group 2025-02-12 16:51:16 UTC
@
Comment 2 wangzhe 2025-02-13 15:29:40 UTC
vhd 镜像中缺少 /etc/cloud/cloud.cfg 文件,是因为当前要测试发布的是社区版本镜像,不安装 cloud-init,制作社区镜像和 ecs 云上镜像的代码逻辑是有差异的,等 8.10 社区版本正式发布完之后,再发布 ecs 云上镜像的时候会以正式镜像为基础,按照云上镜像的逻辑去重新制作云上版本的 vhd 镜像。