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' \