GCE Windows: mkdir -p fluent-bit pos-files directory.

This commit is contained in:
Jeremy Edwards 2021-04-29 16:34:13 +00:00
parent 6baad0a1d4
commit 5c713379a0

View File

@ -1810,7 +1810,7 @@ function Configure-LoggingAgent {
$PARSERS_CONFIG | Out-File -FilePath $fluentbit_parser_file -Encoding ASCII
# Create directory for all the log position files.
New-Item -Type Directory -Path "/var/run/google-fluentbit/pos-files/"
New-Item -Type Directory -Path "/var/run/google-fluentbit/pos-files/" -Force | Out-Null
Log-Output "Wrote logging config to $fluentbit_parser_file"
}