From: Silvio Rhatto Date: Sun, 5 Sep 2021 17:19:34 +0000 (-0300) Subject: Fix: bullseye update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6764344bb9ca41cb03d7cfeb394f72492ebf6247;p=hydra.git Fix: bullseye update --- diff --git a/lib/hydra/misc b/lib/hydra/misc index 75edf19..e4bbbd2 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -137,6 +137,8 @@ function hydra_next_debian_release { elif [ "$release" == "buster" ]; then echo "bullseye" elif [ "$release" == "bullseye" ]; then + echo "bookworm" + elif [ "$release" == "bookworm" ]; then echo "sid" else echo "Unsupported release" diff --git a/share/hydractl/provision b/share/hydractl/provision index 2793e11..1808d69 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -141,7 +141,7 @@ function hydra_provision_config { hydra_user_config hostname machine "Hostname" hydra_user_config domain example.org "Domain" hydra_user_config arch $base_arch "System arch" - hydra_user_config version buster "Distro version" + hydra_user_config version bullseye "Distro version" hydra_user_config vg $hostname "Install vg" hydra_user_config grub y "Setup GRUB? (y/n)" hydra_user_config initramfs initramfs-tools "Initramfs manager? (initramfs-tools/dracut)"