aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-09-05 14:19:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-09-05 14:19:34 -0300
commit6764344bb9ca41cb03d7cfeb394f72492ebf6247 (patch)
tree38f5e0c448c020f9c5168cacd1d7a1b52b478140
parenteb5b3086367fc05028cb1e91a4533da566fd16dd (diff)
downloadhydra-6764344bb9ca41cb03d7cfeb394f72492ebf6247.tar.gz
hydra-6764344bb9ca41cb03d7cfeb394f72492ebf6247.tar.bz2
Fix: bullseye update
-rw-r--r--lib/hydra/misc2
-rwxr-xr-xshare/hydractl/provision2
2 files changed, 3 insertions, 1 deletions
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)"