ubuntu: 添加 24.04

This commit is contained in:
bin456789 2024-04-25 22:24:46 +08:00
parent 55ff4dd113
commit 8c4d422e53
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B
3 changed files with 5 additions and 4 deletions

View File

@ -73,8 +73,8 @@ bash reinstall.sh centos 7|8|9 (8|9 for the stream version)
rocky 8|9
fedora 38|39|40
debian 10|11|12
ubuntu 20.04|22.04
opensuse 15.5|tumbleweed
ubuntu 20.04|22.04|24.04
alpine 3.16|3.17|3.18|3.19
arch
gentoo

View File

@ -73,8 +73,8 @@ bash reinstall.sh centos 7|8|9 (8|9 为 stream 版本)
rocky 8|9
fedora 38|39|40
debian 10|11|12
ubuntu 20.04|22.04
opensuse 15.5|tumbleweed
ubuntu 20.04|22.04|24.04
alpine 3.16|3.17|3.18|3.19
arch
gentoo

View File

@ -31,7 +31,7 @@ Usage: $reinstall____ centos 7|8|9
rocky 8|9
fedora 38|39|40
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
opensuse 15.5|tumbleweed
arch
@ -776,6 +776,7 @@ setos() {
case "$releasever" in
20.04) codename=focal ;;
22.04) codename=jammy ;;
24.04) codename=noble ;;
esac
if is_use_cloud_image; then
@ -1050,7 +1051,7 @@ verify_os_name() {
'rocky 8|9' \
'fedora 38|39|40' \
'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' \
'opensuse 15.5|tumbleweed' \
'arch' \