Skip to content

Set v7 as default for installation script #12814

Open
@flmmartins

Description

@flmmartins

Describe what happened:
I am using the following script to install datadog: https://github.com/DataDog/datadog-agent/blob/main/cmd/agent/install_script.sh

I always like to run it and download the latest version of Datadog but I notice in the script the default is still set to V6 so I had to add the major version variable (DD_AGENT_MAJOR_VERSION ) to v7 to get the latest.

Describe what you expected:

I expected v7 to be default

Steps to reproduce the issue:

Run:

DD_API_KEY="${DATADOG_API_KEY}" DD_HOST_TAGS="${DATADOG_HOST_TAGS}" bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_script.sh)"

Additional environment details (Operating System, Cloud provider, etc):

The behaviour happens in Ubuntu 20 and 18.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions