core: 添加 almalinux 10, nixos 25.05

This commit is contained in:
bin456789
2025-05-29 20:48:30 +08:00
parent b879df8e9b
commit 1a156e9741
4 changed files with 47 additions and 35 deletions

View File

@@ -3207,6 +3207,7 @@ remove_cloud_init() {
case $pkg_mgr in
dnf | yum)
chroot $os_dir $pkg_mgr remove -y cloud-init
rm -f $os_dir/etc/cloud/cloud.cfg.rpmsave
;;
zypper)
# 加上 -u 才会删除依赖