diff options
author | Bill Peck <bpeck@redhat.com> | 2014-04-24 15:57:08 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2014-04-24 15:57:08 -0400 |
commit | 2c6d7f89f1d56a49cf24edc9c63e336db03c532c (patch) | |
tree | 4ac86081d2032753970368cca3d8e319e1d8b345 | |
parent | 24d0be7849cb73b83df71692f0b9b8febc1e943d (diff) | |
download | tests-2c6d7f89f1d56a49cf24edc9c63e336db03c532c.tar.gz tests-2c6d7f89f1d56a49cf24edc9c63e336db03c532c.tar.xz tests-2c6d7f89f1d56a49cf24edc9c63e336db03c532c.zip |
Use RSTRNT_OWNER instead of SUBMITTER
-rwxr-xr-x | distribution/reservesys/reservesys.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distribution/reservesys/reservesys.sh b/distribution/reservesys/reservesys.sh index 99a6d0a..83bf7f0 100755 --- a/distribution/reservesys/reservesys.sh +++ b/distribution/reservesys/reservesys.sh @@ -36,7 +36,7 @@ MOTD() cat <<END > $FILE ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** - This System is reserved by $SUBMITTER. + This System is reserved by $RSTRNT_OWNER To return this system early. You can run the command: return2beaker.sh Ensure you have your logs off the system before returning to Beaker @@ -158,7 +158,7 @@ NOTIFY() local msg=$(mktemp) cat > $msg <<-EOF -To: $SUBMITTER +To: $RSTRNT_OWNER Subject: [Beaker Machine Reserved] $HOSTNAME X-Beaker-test: $RSTRNT_TASKNAME @@ -171,7 +171,7 @@ EOF echo "***** Start of reservesys test *****" if [ -n "$RESERVEBY" ]; then - SUBMITTER=$RESERVEBY + RSTRNT_OWNER=$RESERVEBY fi BUILD_() @@ -181,7 +181,7 @@ BUILD_() MOTD # send email to the submitter - echo "***** Sending email to $SUBMITTER *****" + echo "***** Sending email to $RSTRNT_OWNER *****" NOTIFY # build /usr/bin/extendtesttime.sh script to allow user |