changed machine name to argument
This commit is contained in:
parent
2435a5489b
commit
cbb2820ef0
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ ROOT_DIR="$(dirname ${DIR})"
|
||||||
# get config options
|
# get config options
|
||||||
# shellcheck source=../k8s_config
|
# shellcheck source=../k8s_config
|
||||||
source "${ROOT_DIR}/k8s_config"
|
source "${ROOT_DIR}/k8s_config"
|
||||||
NAME=agent-windows-1
|
NAME=$1
|
||||||
|
|
||||||
gcloud beta compute instances create "${NAME}" \
|
gcloud beta compute instances create "${NAME}" \
|
||||||
--project="${GCP_PROJECT}" \
|
--project="${GCP_PROJECT}" \
|
||||||
|
@ -32,4 +32,4 @@ gcloud beta compute instances create "${NAME}" \
|
||||||
--local-ssd=device-name=local-ssd-0 \
|
--local-ssd=device-name=local-ssd-0 \
|
||||||
--image=windows-server-2019-dc-v20191210 \
|
--image=windows-server-2019-dc-v20191210 \
|
||||||
--image-project=windows-cloud \
|
--image-project=windows-cloud \
|
||||||
--boot-disk-size=100GB
|
--boot-disk-size=100GB
|
||||||
|
|
Loading…
Reference in a new issue