GCE/Windows: create a C:\tmp directory

This is required for running host path tests.
pull/564/head
Yu-Ju Hong 2019-02-26 10:58:01 -08:00
parent 7a4496429d
commit 093e5a50ac
1 changed files with 2 additions and 1 deletions

View File

@ -250,11 +250,12 @@ function Disable-WindowsDefender {
# Creates directories where other functions in this module will read and write
# data.
# Note: C:\tmp is required for running certain kubernetes tests.
function Create-Directories {
Log-Output "Creating ${env:K8S_DIR} and its subdirectories."
ForEach ($dir in ("${env:K8S_DIR}", "${env:NODE_DIR}", "${env:LOGS_DIR}",
"${env:CNI_DIR}", "${env:CNI_CONFIG_DIR}", "${env:MANIFESTS_DIR}",
"${env:PKI_DIR}")) {
"${env:PKI_DIR}"), "C:\tmp") {
mkdir -Force $dir
}
}