aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-09 15:50:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-09 15:50:46 -0300
commitbf63b5f0f5cd4929eefa658908d49818a306b891 (patch)
tree00ef6570511a4c68ff8aedaaacee07c334d39064 /share/hydractl/provision
parentdd5ad57ad9995896c7e64072f3c508bc240e81f4 (diff)
downloadhydra-bf63b5f0f5cd4929eefa658908d49818a306b891.tar.gz
hydra-bf63b5f0f5cd4929eefa658908d49818a306b891.tar.bz2
Provision: drop squeeze support
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision7
1 files changed, 2 insertions, 5 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 94f69e0..1a9b98d 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -402,11 +402,8 @@ else
kernel_arch="$arch"
fi
-if [ "$version" == "squeeze" ]; then
- hydra_sudo_run chroot $WORK apt-get install linux-image-2.6-vserver-$kernel_arch -y
-else
- hydra_sudo_run chroot $WORK apt-get install linux-image-$kernel_arch -y
-fi
+# Kernel.
+hydra_sudo_run chroot $WORK apt-get install linux-image-$kernel_arch -y
# Initramfs.
echo "Creating initramfs..."