From 6764344bb9ca41cb03d7cfeb394f72492ebf6247 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 5 Sep 2021 14:19:34 -0300 Subject: Fix: bullseye update --- lib/hydra/misc | 2 ++ share/hydractl/provision | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)" -- cgit v1.2.3