mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-31 19:08:07 +08:00
opensuse: tumbleweed 云镜像现已安装 NetworkManager
This commit is contained in:
parent
61c78e6316
commit
49642219d2
@ -47,7 +47,7 @@ bash reinstall.sh centos 7|8|9 (8|9 for stream versions)
|
|||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
ubuntu 20.04|22.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
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)
|
arch (supports only amd64 cloud mirror)
|
||||||
gentoo (supports only amd64 cloud mirror)
|
gentoo (supports only amd64 cloud mirror)
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ bash reinstall.sh centos 7|8|9 (8|9 为 stream 版本)
|
|||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
ubuntu 20.04|22.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
alpine 3.16|3.17|3.18|3.19
|
||||||
opensuse 15.4|15.5|tumbleweed (只支持云镜像)
|
opensuse 15.5|tumbleweed (只支持云镜像)
|
||||||
arch (只支持 amd64 云镜像)
|
arch (只支持 amd64 云镜像)
|
||||||
gentoo (只支持 amd64 云镜像)
|
gentoo (只支持 amd64 云镜像)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Usage: reinstall.sh centos 7|8|9
|
|||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
ubuntu 20.04|22.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
alpine 3.16|3.17|3.18|3.19
|
||||||
opensuse 15.4|15.5|tumbleweed
|
opensuse 15.5|tumbleweed
|
||||||
arch
|
arch
|
||||||
gentoo
|
gentoo
|
||||||
dd --img=http://xxx
|
dd --img=http://xxx
|
||||||
@ -619,7 +619,7 @@ verify_os_name() {
|
|||||||
'debian 10|11|12' \
|
'debian 10|11|12' \
|
||||||
'ubuntu 20.04|22.04' \
|
'ubuntu 20.04|22.04' \
|
||||||
'alpine 3.16|3.17|3.18|3.19' \
|
'alpine 3.16|3.17|3.18|3.19' \
|
||||||
'opensuse 15.4|15.5|tumbleweed' \
|
'opensuse 15.5|tumbleweed' \
|
||||||
'arch' \
|
'arch' \
|
||||||
'gentoo' \
|
'gentoo' \
|
||||||
'windows' \
|
'windows' \
|
||||||
|
8
trans.sh
8
trans.sh
@ -1289,12 +1289,10 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# opensuse tumbleweed 需安装 wicked
|
# opensuse tumbleweed
|
||||||
|
# TODO: cloud-init 更新后删除
|
||||||
if grep opensuse-tumbleweed $os_dir/etc/os-release; then
|
if grep opensuse-tumbleweed $os_dir/etc/os-release; then
|
||||||
cp -f /etc/resolv.conf $os_dir/etc/resolv.conf
|
touch $os_dir/etc/NetworkManager/NetworkManager.conf
|
||||||
mount_pseudo_fs $os_dir
|
|
||||||
chroot $os_dir zypper install -y wicked
|
|
||||||
rm -f $os_dir/etc/resolv.conf
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# arch
|
# arch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user