1
0
Fork 0

changed machine name to argument

This commit is contained in:
Christian Kühnel 2020-05-08 11:31:48 +02:00
parent 2435a5489b
commit cbb2820ef0

View file

@ -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
--boot-disk-size=100GB