mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
opensuse: tumbleweed 云镜像现已安装 NetworkManager
This commit is contained in:
8
trans.sh
8
trans.sh
@ -1289,12 +1289,10 @@ EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
# opensuse tumbleweed 需安装 wicked
|
||||
# opensuse tumbleweed
|
||||
# TODO: cloud-init 更新后删除
|
||||
if grep opensuse-tumbleweed $os_dir/etc/os-release; then
|
||||
cp -f /etc/resolv.conf $os_dir/etc/resolv.conf
|
||||
mount_pseudo_fs $os_dir
|
||||
chroot $os_dir zypper install -y wicked
|
||||
rm -f $os_dir/etc/resolv.conf
|
||||
touch $os_dir/etc/NetworkManager/NetworkManager.conf
|
||||
fi
|
||||
|
||||
# arch
|
||||
|
||||
Reference in New Issue
Block a user