Skip to content

install_script.sh does not check the flavor of the agent #12675

Open
@kvitaly2005

Description

@kvitaly2005

Output of the info page (if this is a bug)

(Paste the output of the info page here)

I want to install datadog-iot-agent using install_script.sh on armhf architecture. I user provided line: DD_SITE="datadoghq.com" DD_AGENT_MAJOR_VERSION=7 DD_AGENT_MINOR_VERSION=32.4 DD_AGENT_FLAVOR='datadog-iot-agent' bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"

Describe what happened:
Script failing: Specified version not found: Check available versions at: https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst
While datadog-iot-agent for this version is exist in the repo

Describe what you expected:
I expect given version to be installed. However line 501 have hard coded datadog-agent check instead of expecting datadog-iot-agent.

Steps to reproduce the issue:
Run https://s3.amazonaws.com/dd-agent/scripts/install_script.sh on armhf
Try to install any version of Datadog IOT agent
It will fail

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

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