diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-07 01:29:07 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-07 01:29:07 +0200 |
commit | 687321112c084d720acfeb2f6b3e1f895efb8f2c (patch) | |
tree | f1bbcb70f0134ef501e9d3c8ae7c0c42b5a59f52 | |
parent | bf408d4a6ed8d5eb2ffcf1bd8d057963c7645546 (diff) | |
download | jenkins.debian.net-687321112c084d720acfeb2f6b3e1f895efb8f2c.tar.xz |
use hostname -f to determine own hostname
-rwxr-xr-x | hosts/jenkins/etc/rc.local | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local index 1eac9049..9493d09d 100755 --- a/hosts/jenkins/etc/rc.local +++ b/hosts/jenkins/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "jenkins.d.n rebooted" root +echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 |