diff --git a/labs/lib/wbatch/batch_for_windows b/labs/lib/wbatch/batch_for_windows index 0d2bbff8..1b8f7540 100644 --- a/labs/lib/wbatch/batch_for_windows +++ b/labs/lib/wbatch/batch_for_windows @@ -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 } diff --git a/labs/lib/wbatch/template-file_header_bat b/labs/lib/wbatch/template-file_header_bat index ce5c771d..81e8f0c8 100644 --- a/labs/lib/wbatch/template-file_header_bat +++ b/labs/lib/wbatch/template-file_header_bat @@ -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.