From 8c4d422e53107ed70e8b95995ff5d228a2062a52 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Thu, 25 Apr 2024 22:24:46 +0800 Subject: [PATCH] =?UTF-8?q?ubuntu:=20=E6=B7=BB=E5=8A=A0=2024.04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 2 +- README.md | 2 +- reinstall.sh | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.en.md b/README.en.md index 7560023..ab5d578 100644 --- a/README.en.md +++ b/README.en.md @@ -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 diff --git a/README.md b/README.md index c22960e..491a54d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/reinstall.sh b/reinstall.sh index 3d2c284..9365975 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -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' \