]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Spell sed right
authorPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:33:30 +0000 (09:33 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 20 Jun 2012 07:33:30 +0000 (09:33 +0200)
modules/ganeti2/templates/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb

index e48af7e821fac9064f18301e68dd746cf9cc9867..f87d165eb22914fd3fd8b797e0b803d5fefa2b9f 100755 (executable)
@@ -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