Spell sed right
[mirror/dsa-puppet.git] / modules / ganeti2 / templates / instance-debootstrap / hooks / 10-dsa-install-extra-packages.erb
index e48af7e..f87d165 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