Code Review
/
redfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6e7440a
)
added logging
73/173/1
author
davidplunkett
<dp7642@att.com>
Wed, 1 Aug 2018 06:55:11 +0000
(
02:55
-0400)
committer
davidplunkett
<dp7642@att.com>
Wed, 1 Aug 2018 06:55:11 +0000
(
02:55
-0400)
Change-Id: Ia0baa678a8e5e7d5ebe1644d3b39985ef9c0f33b
Signed-off-by: davidplunkett <dp7642@att.com>
install_server_os.sh
patch
|
blob
|
history
diff --git
a/install_server_os.sh
b/install_server_os.sh
index
348e22c
..
69e9b08
100755
(executable)
--- a/
install_server_os.sh
+++ b/
install_server_os.sh
@@
-72,6
+72,11
@@
export NO_CONFIRM;
export NO_APPLY_HW;
export RCFILE;
+# SETUP LOGGING
+MYLOGFILE="`basename $0`-${RCFILE##*/}-`date -Im`.log"
+exec 1> >(tee -a "$MYLOGFILE") 2>&1
+echo "Logging to $MYLOGFILE"
+
# SETUP TOOLS AND LOAD DEFAULT BUILD VARIABLES
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $BASEDIR/setup_tools.sh 1>&2