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

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.
Reference in New Issue
openstack/training-guides
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.