From: Peter Palfrader Date: Wed, 20 Jun 2012 07:33:30 +0000 (+0200) Subject: Spell sed right X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=14235e6b690b63b523ee5df04a3df0e0f53ef7d2 Spell sed right --- 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 index e48af7e8..f87d165e 100755 --- 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 @@ -11,7 +11,7 @@ chroot "$TARGET" apt-get -qq update chroot "$TARGET" apt-get -qq install vim ssh extlinux hostname="$(hostname)" -set -e "s#root@$hostname#root@$instance#" -i /etc/ssh/ssh*pub +sed -e "s#root@$hostname#root@$instance#" -i /etc/ssh/ssh*pub if [ "$ARCH" = "amd64" ]; then chroot "$TARGET" apt-get -qq install linux-image-amd64