环境: [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后可正常执行
an8的镜像默认带了,请帮忙确认 [root@iZbp1bsrjt1pwpbo208uovZ libhugetlbfs]# find /etc/sysconfig/network-scripts/ -name "ifcfg-*" | xargs cat | grep ONBOOT=yes ONBOOT=yes ONBOOT=yes
社区镜像默认使用NetworkManager 管理,不会默认安装 network-scripts