labs: remove user/hostname/date from Windows batch files
Remove the user, build host, and build date from the Windows batch files to avoid the appearance of changes in the scripts when there are none. Change-Id: Ic36eb016dd2247c38b8bcbd627de76d443d9c317
This commit is contained in:
@@ -124,12 +124,8 @@ function wbatch_sleep {
|
||||
|
||||
function wbatch_file_header {
|
||||
local product=$1
|
||||
local date=$(date -u)
|
||||
|
||||
sed -e "
|
||||
s,%USER%,$USER,g;
|
||||
s,%HOSTNAME%,$HOSTNAME,g;
|
||||
s,%DATE%,$date,g;
|
||||
s,%PRODUCT%,$product,g;
|
||||
" "$WBATCH_TEMPLATE_DIR/template-file_header_bat" | wbatch_write_stdin
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
ECHO.
|
||||
ECHO OpenStack labs for VirtualBox on Windows
|
||||
ECHO Generated by osbash (%USER%@%HOSTNAME%, %DATE%)
|
||||
ECHO Generated by osbash
|
||||
ECHO.
|
||||
ECHO Create %PRODUCT%
|
||||
ECHO.
|
||||
|
||||
Reference in New Issue
Block a user