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:
Roger Luethi 2014-10-03 13:42:05 +02:00
parent e87bc6f92a
commit 5cddb1f42a
2 changed files with 1 additions and 5 deletions

View File

@ -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
}

View File

@ -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.