Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure-pipelines-agent] Feature request: Install Only Option Don't configure #196

Open
Marcus-James-Adams opened this issue Jan 27, 2025 · 1 comment

Comments

@Marcus-James-Adams
Copy link

We create gold images for our VM's using packer, part of that process involves sys prepping so that machines created will have a new name

In our scenario, we would like to install the azure-pipelines-agent via Chocolatey as part of the packer build process.
Once the machines are built with this image we would then like to run config.cmd (we have a process for this) to register the agent against the new machine name with DevOps.

With the current choco script, it configures as part of the install so agent registers itself as the packer image VM name

@flcdrg flcdrg changed the title Feature request: azure-pipelines-agent Install Only Option Don't configure [azure-pipelines-agent] Feature request: Install Only Option Don't configure Jan 27, 2025
@flcdrg
Copy link
Owner

flcdrg commented Jan 28, 2025

So just checking, have you tried installing the package without providing any package parameters?

The chocolateyInstall.ps1 script only runs configure if $configOpts has been populated, and that is only done if the url parameter is supplied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants