mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #74613 from yujuhong/create-tmp
GCE/Windows: create a C:\tmp directory
This commit is contained in:
commit
4fa5ece62c
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user