aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-16 17:24:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-16 17:24:42 -0200
commitaadfe60eaa5fa4b2ad1601c0459ae44aeb8f016c (patch)
tree51e60561732795f997b6f934733cbe4f87275682
parenta3472bab0dd6ca83884d95e1831eb9cd57f6f1bc (diff)
downloadhydra-aadfe60eaa5fa4b2ad1601c0459ae44aeb8f016c.tar.gz
hydra-aadfe60eaa5fa4b2ad1601c0459ae44aeb8f016c.tar.bz2
Debian jessie support
-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 eda2919..0abff2d 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -116,6 +116,8 @@ function hydra_next_debian_release {
echo "squeeze"
elif [ "$release" == "squeeze" ]; then
echo "wheezy"
+ elif [ "$release" == "wheezy" ]; then
+ echo "jessie"
else
echo "Unsupported release"
exit 1
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 9df010a..b10e16d 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -105,7 +105,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 wheezy "Distro version"
+ hydra_user_config version jessie "Distro version"
hydra_user_config vg $hostname "Install vg"
hydra_user_config grub y "Setup GRUB? (y/n)"
hydra_user_config mirror http://http.debian.net/debian/ "Debian mirror"