Bug 8981 - [Anolis23.1 GA][Beta][vhd]缺失 /etc/sysconfig/network-scripts目录
Summary: [Anolis23.1 GA][Beta][vhd]缺失 /etc/sysconfig/network-scripts目录
Status: CLOSED BYDESIGN
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2024-05-10 11:00 UTC by gitpush
Modified: 2024-05-21 15:38 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 2024-05-10 11:00:34 UTC
环境:
[root@localhost ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

执行过程:
执行find /etc/sysconfig/network-scripts/ -name "ifcfg-*" | xargs cat | grep ONBOOT=yes'报错,没有该目录,安装network-scripts后可正常执行
Comment 1 yunmeng365524 2024-05-10 15:13:26 UTC
an8的镜像默认带了,请帮忙确认
[root@iZbp1bsrjt1pwpbo208uovZ libhugetlbfs]# find /etc/sysconfig/network-scripts/ -name "ifcfg-*" | xargs cat | grep ONBOOT=yes
ONBOOT=yes
ONBOOT=yes
Comment 2 gaochang alibaba_cloud_group 2024-05-11 11:54:28 UTC
社区镜像默认使用NetworkManager 管理,不会默认安装 network-scripts