opensuse: tumbleweed 云镜像现已安装 NetworkManager

This commit is contained in:
bin456789 2024-01-18 23:52:54 +08:00
parent 61c78e6316
commit 49642219d2
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B
4 changed files with 7 additions and 9 deletions

View File

@ -47,7 +47,7 @@ bash reinstall.sh centos 7|8|9 (8|9 for stream versions)
debian 10|11|12
ubuntu 20.04|22.04
alpine 3.16|3.17|3.18|3.19
opensuse 15.4|15.5|tumbleweed (supports cloud mirror only)
opensuse 15.5|tumbleweed (supports cloud mirror only)
arch (supports only amd64 cloud mirror)
gentoo (supports only amd64 cloud mirror)

View File

@ -47,7 +47,7 @@ bash reinstall.sh centos 7|8|9 (8|9 为 stream 版本)
debian 10|11|12
ubuntu 20.04|22.04
alpine 3.16|3.17|3.18|3.19
opensuse 15.4|15.5|tumbleweed (只支持云镜像)
opensuse 15.5|tumbleweed (只支持云镜像)
arch (只支持 amd64 云镜像)
gentoo (只支持 amd64 云镜像)

View File

@ -25,7 +25,7 @@ Usage: reinstall.sh centos 7|8|9
debian 10|11|12
ubuntu 20.04|22.04
alpine 3.16|3.17|3.18|3.19
opensuse 15.4|15.5|tumbleweed
opensuse 15.5|tumbleweed
arch
gentoo
dd --img=http://xxx
@ -619,7 +619,7 @@ verify_os_name() {
'debian 10|11|12' \
'ubuntu 20.04|22.04' \
'alpine 3.16|3.17|3.18|3.19' \
'opensuse 15.4|15.5|tumbleweed' \
'opensuse 15.5|tumbleweed' \
'arch' \
'gentoo' \
'windows' \

View File

@ -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