From a8de3c2c8005201636965a27995cafc2748aa9ae Mon Sep 17 00:00:00 2001 From: roib20 <66280613+roib20@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:29:16 +0300 Subject: [PATCH 1/5] Update Ubuntu, Fedora and TrueNAS Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com> --- proxmox-cloudinit-script/pve_cloudinit.sh | 22 +++++++++++----------- proxmox-truenas-script/Bash/pve_truenas.sh | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/proxmox-cloudinit-script/pve_cloudinit.sh b/proxmox-cloudinit-script/pve_cloudinit.sh index 4996492..fc3a96f 100644 --- a/proxmox-cloudinit-script/pve_cloudinit.sh +++ b/proxmox-cloudinit-script/pve_cloudinit.sh @@ -3,8 +3,8 @@ choose_distro() { echo -e "Welcome to the Proxmox Cloud-Init template installer!\n" PS3="Please choose a distro image to download (1-6): " - local distro_list=("Ubuntu Cloud 22.04 LTS" "Ubuntu Cloud 22.04 LTS (Minimal)" "Ubuntu Cloud 23.10" "Ubuntu Cloud 23.10 (Minimal)" "Debian 11 (GenericCloud)" "Debian 12 (GenericCloud)" - "Fedora Cloud 39 (base)" "AlmaLinux 9 (GenericCloud)" "Quit") + local distro_list=("Ubuntu Cloud 22.04 LTS" "Ubuntu Cloud 22.04 LTS (Minimal)" "Ubuntu Cloud 24.04 LTS" "Ubuntu Cloud 24.04 LTS (Minimal)" "Debian 11 (GenericCloud)" "Debian 12 (GenericCloud)" + "Fedora Cloud 40 (base)" "AlmaLinux 9 (GenericCloud)" "Quit") select distro in "${distro_list[@]}"; do case $distro in "${distro_list[0]}") @@ -25,18 +25,18 @@ choose_distro() { ;; "${distro_list[2]}") echo -e "${distro_list[0]}" - IMAGE_URL="https://cloud-images.ubuntu.com/mantic/current/mantic-server-cloudimg-amd64.img" - CHECKSUM_URL="https://cloud-images.ubuntu.com/mantic/current/SHA256SUMS" + IMAGE_URL="https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img" + CHECKSUM_URL="https://cloud-images.ubuntu.com/noble/current/SHA256SUMS" SHA=256 - CLOUDIMG_NAME="mantic-server-cloudimg-amd64.img" + CLOUDIMG_NAME="noble-server-cloudimg-amd64.img" break ;; "${distro_list[3]}") echo -e "${distro_list[1]}" - IMAGE_URL="https://cloud-images.ubuntu.com/minimal/releases/mantic/release/ubuntu-23.10-minimal-cloudimg-amd64.img" - CHECKSUM_URL="https://cloud-images.ubuntu.com/minimal/releases/mantic/release/SHA256SUMS" + IMAGE_URL="https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img" + CHECKSUM_URL="https://cloud-images.ubuntu.com/minimal/releases/noble/release/SHA256SUMS" SHA=256 - CLOUDIMG_NAME="ubuntu-23.10-minimal-cloudimg-amd64.img" + CLOUDIMG_NAME="ubuntu-24.04-minimal-cloudimg-amd64.img" break ;; "${distro_list[4]}") @@ -57,10 +57,10 @@ choose_distro() { ;; "${distro_list[6]}") echo -e "${distro_list[3]}" - IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-39-1.5.x86_64.qcow2" - CHECKSUM_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-39-1.5-x86_64-CHECKSUM" + IMAGE_URL="https://fedora.ip-connect.info/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2" + CHECKSUM_URL="https://fedora.ip-connect.info/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-40-1.14-x86_64-CHECKSUM" SHA=256 - CLOUDIMG_NAME="Fedora-Cloud-Base-39-1.5.x86_64.qcow2" + CLOUDIMG_NAME="Fedora-Cloud-Base-40-1.x.x86_64.qcow2" break ;; "${distro_list[7]}") diff --git a/proxmox-truenas-script/Bash/pve_truenas.sh b/proxmox-truenas-script/Bash/pve_truenas.sh index 3fa9931..c72f64c 100644 --- a/proxmox-truenas-script/Bash/pve_truenas.sh +++ b/proxmox-truenas-script/Bash/pve_truenas.sh @@ -3,7 +3,7 @@ choose_distro() { echo -e "Welcome to the Proxmox Cloud-Init template installer!\n" PS3="Please choose a distro image to download (1-6): " - local TRUENAS_SCALE_VERSION="23.10.1" + local TRUENAS_SCALE_VERSION="24.04.0" local TRUENAS_CORE_VERSION="13.0" local TRUENAS_CORE_UPDATE="U6.1" From 844359c0d706137db761271441f6877f52fde13a Mon Sep 17 00:00:00 2001 From: roib20 <66280613+roib20@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:46:10 +0300 Subject: [PATCH 2/5] Revert Fedora to its CDN Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com> --- proxmox-cloudinit-script/pve_cloudinit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxmox-cloudinit-script/pve_cloudinit.sh b/proxmox-cloudinit-script/pve_cloudinit.sh index fc3a96f..3c405da 100644 --- a/proxmox-cloudinit-script/pve_cloudinit.sh +++ b/proxmox-cloudinit-script/pve_cloudinit.sh @@ -57,8 +57,8 @@ choose_distro() { ;; "${distro_list[6]}") echo -e "${distro_list[3]}" - IMAGE_URL="https://fedora.ip-connect.info/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2" - CHECKSUM_URL="https://fedora.ip-connect.info/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-40-1.14-x86_64-CHECKSUM" + IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2" + CHECKSUM_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-40-1.14-x86_64-CHECKSUM" SHA=256 CLOUDIMG_NAME="Fedora-Cloud-Base-40-1.x.x86_64.qcow2" break From bb5776737c856c14db04c93834ca6e8d1e6f38b8 Mon Sep 17 00:00:00 2001 From: roib20 <66280613+roib20@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:44:12 +0300 Subject: [PATCH 3/5] Update `README.md` Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com> --- proxmox-cloudinit-script/README.md | 8 ++++---- proxmox-truenas-script/README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proxmox-cloudinit-script/README.md b/proxmox-cloudinit-script/README.md index 4075421..07e888a 100644 --- a/proxmox-cloudinit-script/README.md +++ b/proxmox-cloudinit-script/README.md @@ -3,13 +3,13 @@ A user-friendly guided script for Proxmox VE 7.x. Guides you through downloading a Linux cloud image and automatically configuring it as a Cloud-init template - that can then be used to easily generate VMs! Various distros are avaible to download and configure. Current choices include: -- [Ubuntu Cloud 22.04 (Jammy Jellyfish)](https://cloud-images.ubuntu.com/jammy/) +- [Ubuntu Cloud 22.04 LS (Jammy Jellyfish)](https://cloud-images.ubuntu.com/jammy/) - [Ubuntu Minimal Cloud 22.04 LTS (Jammy Jellyfish)](https://cloud-images.ubuntu.com/minimal/releases/jammy/) -- [Ubuntu Cloud 23.10 (Mantic Minotaur)](https://cloud-images.ubuntu.com/lunar/) -- [Ubuntu Minimal Cloud 23.10 (Mantic Minotaur)](https://cloud-images.ubuntu.com/minimal/releases/mantic/) +- [Ubuntu Cloud 24.04 LTS (Noble Numbat)](https://cloud-images.ubuntu.com/noble/) +- [Ubuntu Minimal Cloud 24.04 LTS (Noble Numbat)](https://cloud-images.ubuntu.com/minimal/releases/noble/) - [Debian 11 "bullseye" (GenericCloud)](https://cloud.debian.org/images/cloud/bullseye/) - [Debian 12 "bookworm" (GenericCloud)](https://cloud.debian.org/images/cloud/bookworm/) -- [Fedora Cloud 39 (base)](https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/) +- [Fedora Cloud 40 (base)](https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/) - [AlmaLinux 9 (GenericCloud)](https://repo.almalinux.org/almalinux/9/cloud/) ## FAQ diff --git a/proxmox-truenas-script/README.md b/proxmox-truenas-script/README.md index 9382fe4..d3bafd8 100644 --- a/proxmox-truenas-script/README.md +++ b/proxmox-truenas-script/README.md @@ -6,8 +6,8 @@ A user-friendly guided script for Proxmox VE 7.x. Guides you through downloading The following versions of TrueNAS SCALE and CORE (present in version 23.11 of this script) suffer from a [ZFS corruption bug](https://www.truenas.com/community/threads/silent-corruption-with-openzfs-ongoing-discussion-and-testing.114390/). For now, I recommend using [version 23.08](https://github.com/roib20/proxmox-scripts/releases/tag/23.08) of this script which is not affected by this bug. I will update the scripts after fixed TrueNAS versions are released. Multiple versions of TrueNAS are available to download: - - [TrueNAS SCALE](https://www.truenas.com/download-truenas-scale/) 23.10.0.1 - - [TrueNAS CORE](https://www.truenas.com/download-truenas-core/) 13.0-U5.3 + - [TrueNAS SCALE](https://www.truenas.com/download-truenas-scale/) 24.04.0 + - [TrueNAS CORE](https://www.truenas.com/download-truenas-core/) 13.0-U6.1 ## FAQ From 04ffce212c6a8877757ba8a9e226e3af48fe0ca5 Mon Sep 17 00:00:00 2001 From: roib20 <66280613+roib20@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:47:19 +0300 Subject: [PATCH 4/5] Update README files Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com> --- proxmox-cloudinit-script/README.md | 2 +- proxmox-truenas-script/README.md | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/proxmox-cloudinit-script/README.md b/proxmox-cloudinit-script/README.md index 07e888a..6627e22 100644 --- a/proxmox-cloudinit-script/README.md +++ b/proxmox-cloudinit-script/README.md @@ -1,6 +1,6 @@ # Proxmox VE script for generating Cloud-init templates -A user-friendly guided script for Proxmox VE 7.x. Guides you through downloading a Linux cloud image and automatically configuring it as a Cloud-init template - that can then be used to easily generate VMs! +A user-friendly guided script for Proxmox VE 8.x. Guides you through downloading a Linux cloud image and automatically configuring it as a Cloud-init template - that can then be used to easily generate VMs! Various distros are avaible to download and configure. Current choices include: - [Ubuntu Cloud 22.04 LS (Jammy Jellyfish)](https://cloud-images.ubuntu.com/jammy/) diff --git a/proxmox-truenas-script/README.md b/proxmox-truenas-script/README.md index d3bafd8..041c686 100644 --- a/proxmox-truenas-script/README.md +++ b/proxmox-truenas-script/README.md @@ -1,9 +1,6 @@ # Proxmox VE script for creating TrueNAS virtual machines -A user-friendly guided script for Proxmox VE 7.x. Guides you through downloading a TrueNAS ISO and configuring it as a VM. - -**NOTICE: ZFS corruption bug** -The following versions of TrueNAS SCALE and CORE (present in version 23.11 of this script) suffer from a [ZFS corruption bug](https://www.truenas.com/community/threads/silent-corruption-with-openzfs-ongoing-discussion-and-testing.114390/). For now, I recommend using [version 23.08](https://github.com/roib20/proxmox-scripts/releases/tag/23.08) of this script which is not affected by this bug. I will update the scripts after fixed TrueNAS versions are released. +A user-friendly guided script for Proxmox VE 8.x. Guides you through downloading a TrueNAS ISO and configuring it as a VM. Multiple versions of TrueNAS are available to download: - [TrueNAS SCALE](https://www.truenas.com/download-truenas-scale/) 24.04.0 From 6fca7ba54140223dff2272ae4c18518ba3ff6153 Mon Sep 17 00:00:00 2001 From: roib20 <66280613+roib20@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:56:37 +0300 Subject: [PATCH 5/5] Update Fedora CloudImg name Signed-off-by: roib20 <66280613+roib20@users.noreply.github.com> --- proxmox-cloudinit-script/pve_cloudinit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-cloudinit-script/pve_cloudinit.sh b/proxmox-cloudinit-script/pve_cloudinit.sh index 3c405da..0abc83b 100644 --- a/proxmox-cloudinit-script/pve_cloudinit.sh +++ b/proxmox-cloudinit-script/pve_cloudinit.sh @@ -60,7 +60,7 @@ choose_distro() { IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2" CHECKSUM_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/40/Cloud/x86_64/images/Fedora-Cloud-40-1.14-x86_64-CHECKSUM" SHA=256 - CLOUDIMG_NAME="Fedora-Cloud-Base-40-1.x.x86_64.qcow2" + CLOUDIMG_NAME="Fedora-Cloud-40-1.14-x86_64.qcow2" break ;; "${distro_list[7]}")