mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
ubuntu: 添加 24.04
This commit is contained in:
parent
55ff4dd113
commit
8c4d422e53
@ -73,8 +73,8 @@ bash reinstall.sh centos 7|8|9 (8|9 for the stream version)
|
|||||||
rocky 8|9
|
rocky 8|9
|
||||||
fedora 38|39|40
|
fedora 38|39|40
|
||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
|
||||||
opensuse 15.5|tumbleweed
|
opensuse 15.5|tumbleweed
|
||||||
|
ubuntu 20.04|22.04|24.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
alpine 3.16|3.17|3.18|3.19
|
||||||
arch
|
arch
|
||||||
gentoo
|
gentoo
|
||||||
|
@ -73,8 +73,8 @@ bash reinstall.sh centos 7|8|9 (8|9 为 stream 版本)
|
|||||||
rocky 8|9
|
rocky 8|9
|
||||||
fedora 38|39|40
|
fedora 38|39|40
|
||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
|
||||||
opensuse 15.5|tumbleweed
|
opensuse 15.5|tumbleweed
|
||||||
|
ubuntu 20.04|22.04|24.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
alpine 3.16|3.17|3.18|3.19
|
||||||
arch
|
arch
|
||||||
gentoo
|
gentoo
|
||||||
|
@ -31,7 +31,7 @@ Usage: $reinstall____ centos 7|8|9
|
|||||||
rocky 8|9
|
rocky 8|9
|
||||||
fedora 38|39|40
|
fedora 38|39|40
|
||||||
debian 10|11|12
|
debian 10|11|12
|
||||||
ubuntu 20.04|22.04
|
ubuntu 20.04|22.04|24.04
|
||||||
alpine 3.16|3.17|3.18|3.19
|
alpine 3.16|3.17|3.18|3.19
|
||||||
opensuse 15.5|tumbleweed
|
opensuse 15.5|tumbleweed
|
||||||
arch
|
arch
|
||||||
@ -776,6 +776,7 @@ setos() {
|
|||||||
case "$releasever" in
|
case "$releasever" in
|
||||||
20.04) codename=focal ;;
|
20.04) codename=focal ;;
|
||||||
22.04) codename=jammy ;;
|
22.04) codename=jammy ;;
|
||||||
|
24.04) codename=noble ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if is_use_cloud_image; then
|
if is_use_cloud_image; then
|
||||||
@ -1050,7 +1051,7 @@ verify_os_name() {
|
|||||||
'rocky 8|9' \
|
'rocky 8|9' \
|
||||||
'fedora 38|39|40' \
|
'fedora 38|39|40' \
|
||||||
'debian 10|11|12' \
|
'debian 10|11|12' \
|
||||||
'ubuntu 20.04|22.04' \
|
'ubuntu 20.04|22.04|24.04' \
|
||||||
'alpine 3.16|3.17|3.18|3.19' \
|
'alpine 3.16|3.17|3.18|3.19' \
|
||||||
'opensuse 15.5|tumbleweed' \
|
'opensuse 15.5|tumbleweed' \
|
||||||
'arch' \
|
'arch' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user