]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
take mailto: from mail
authorHolger Levsen <holger@layer-acht.org>
Fri, 9 Nov 2012 12:12:59 +0000 (13:12 +0100)
committerHolger Levsen <holger@layer-acht.org>
Fri, 9 Nov 2012 12:12:59 +0000 (13:12 +0100)
liveboot_testdeploy.sh

index fc95bb66046e06490e372183a78dcde52e1640c3..aef16e8b178cf3ddad75348c7fcd978bab729110 100755 (executable)
@@ -12,7 +12,6 @@ TESTSERVER=pserver2
 TESTSERVER_MGMT_IP=192.168.178.49
 TESTSERVER_MGMT_PASSWD_FILE=/etc/jenkins/pserver2.ipmi
 
-MAILTO=liveboot-announce@profitbricks.com
 TFTP_TARGET=/srv/tftp/liveboot
 HTTP_TARGET=/var/www/liveboot/
 
@@ -123,9 +122,9 @@ if [ ! -e $MAIL ] ; then
        exit 1
 fi
 mailtextbody < $MAIL ; echo
-cat $MAIL | /usr/sbin/sendmail $MAILTO
+cat $MAIL | /usr/sbin/sendmail -t
 echo
-echo "Ok, mail to $MAILTO send."
+echo "Ok, announcement mail sent."
 
 #
 # finish