diff --git a/ui/admin/app/components/form/worker/create-worker-led/index.js b/ui/admin/app/components/form/worker/create-worker-led/index.js index 256880988..86150cfe4 100644 --- a/ui/admin/app/components/form/worker/create-worker-led/index.js +++ b/ui/admin/app/components/form/worker/create-worker-led/index.js @@ -130,10 +130,10 @@ sudo apt-get update && sudo apt-get install boundary ;\\ boundary server -config="${configPath}/pki-worker.hcl"`; const hcpContent = `sudo apt-get update && sudo apt-get install jq unzip ;\\ -wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp" \ +wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise" \ | jq -r '.builds[] | select(.arch == "amd64" and .os == "linux") | .url')" ;\\ unzip *.zip ;\\ -./boundary-worker server -config="${configPath}/pki-worker.hcl"`; +./boundary server -config="${configPath}/pki-worker.hcl"`; return this.features.isEnabled('byow-pki-hcp-cluster-id') ? hcpContent diff --git a/ui/admin/tests/acceptance/workers/create-test.js b/ui/admin/tests/acceptance/workers/create-test.js index f5f78b6f7..39870e1d4 100644 --- a/ui/admin/tests/acceptance/workers/create-test.js +++ b/ui/admin/tests/acceptance/workers/create-test.js @@ -77,7 +77,7 @@ module('Acceptance | workers | create', function (hooks) { assert .dom(createSection[1]) .doesNotIncludeText( - 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp"' + 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise"' ); }); @@ -90,7 +90,7 @@ module('Acceptance | workers | create', function (hooks) { assert .dom(createSection[1]) .includesText( - 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp"' + 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise"' ); assert .dom(createSection[1])