diff --git a/kubernetes/windows_agent_create.sh b/kubernetes/windows_agent_create.sh index 1fe9019..cd98838 100755 --- a/kubernetes/windows_agent_create.sh +++ b/kubernetes/windows_agent_create.sh @@ -23,7 +23,7 @@ ROOT_DIR="$(dirname ${DIR})" # get config options # shellcheck source=../k8s_config source "${ROOT_DIR}/k8s_config" -NAME=agent-windows-1 +NAME=$1 gcloud beta compute instances create "${NAME}" \ --project="${GCP_PROJECT}" \ @@ -32,4 +32,4 @@ gcloud beta compute instances create "${NAME}" \ --local-ssd=device-name=local-ssd-0 \ --image=windows-server-2019-dc-v20191210 \ --image-project=windows-cloud \ - --boot-disk-size=100GB \ No newline at end of file + --boot-disk-size=100GB