]> gitweb.fluxo.info Git - hydra.git/commitdiff
Provision: drop squeeze support
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 9 Mar 2016 18:50:46 +0000 (15:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 9 Mar 2016 18:50:46 +0000 (15:50 -0300)
share/hydractl/provision

index 94f69e040d4b6267058d824ff0c522d533fe306b..1a9b98dd1d79f6584cf6758f433bb9edf6fe89d9 100755 (executable)
@@ -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..."