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}" \
|
||||||
|
|
Loading…
Reference in a new issue