X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fganeti2%2Ftemplates%2Finstance-debootstrap%2Fhooks%2F10-dsa-install-extra-packages.erb;fp=modules%2Fganeti2%2Ftemplates%2Finstance-debootstrap%2Fhooks%2F10-dsa-install-extra-packages.erb;h=0000000000000000000000000000000000000000;hb=b85152452204fdacaa807997158c1980dcb26ebe;hp=0b0b866c53050b05627a2a7998fa33c38835ba36;hpb=34da7fe379a0e029279d13c1d9e485549973b923;p=dsa-puppet.git diff --git a/modules/ganeti2/templates/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb b/modules/ganeti2/templates/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb deleted file mode 100755 index 0b0b866c..00000000 --- a/modules/ganeti2/templates/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -set -e - -if [ -z "$TARGET" -o ! -d "$TARGET" ]; then - echo "Missing target directory" - exit 1 -fi - -chroot "$TARGET" apt-get -qq update -chroot "$TARGET" apt-get -qq install vim ssh extlinux - -node="$(hostname)" -instance="$(cat $TARGET/etc/hostname)" -sed -e "s#root@$node#root@$instance#" -i "$TARGET"/etc/ssh/ssh*pub - -if [ "$ARCH" = "amd64" ]; then - chroot "$TARGET" apt-get -qq install linux-image-amd64 -fi - -exit 0