mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat(cli): allow specifying name of provisioner daemon (#11077)
- Adds a --name argument to provisionerd start - Plumbs through name to integrated and external provisioners - Defaults to hostname if not specified for external, hostname-N for integrated - Adds cliutil.Hostname
This commit is contained in:
@ -20,6 +20,9 @@ fi
|
||||
if [[ ${1:-} == exp ]] && [[ ${2:-} == scaletest ]]; then
|
||||
BINARY_TYPE=coder
|
||||
fi
|
||||
if [[ ${1:-} == provisionerd ]]; then
|
||||
BINARY_TYPE=coder
|
||||
fi
|
||||
RELATIVE_BINARY_PATH="build/${BINARY_TYPE}_${GOOS}_${GOARCH}"
|
||||
|
||||
# To preserve the CWD when running the binary, we need to use pushd and popd to
|
||||
|
Reference in New Issue
Block a user