From a8326c92834a275835b727001ec2443e839f5f94 Mon Sep 17 00:00:00 2001 From: joserafaelly Date: Fri, 23 Aug 2019 11:54:03 -0400 Subject: [PATCH] Updated curl command in Lab 5 I have try to follow the instructions and because in the url there are "&" the command was failing and the only way to make it work was using the updated command. I was using the standard ECS instances. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b5e9ca..684c536 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ Here are the steps involved 2. Edit the User Data portion and add the OneAgent Installation steps. *ATTENTION:* The default AMI that is used for ECS EC2 Container Instances doesnt come with wget but it comes with curl. I also noticed I have to execute the install script with sudo in order for the installation script to run as root. Here is the code snippet that should work: ``` #!/bin/bash -curl -O Dynatrace-OneAgent-Linux.sh https://YOUR.FULL.DYNATRACE.ONEAGENT.DOWNLOADLINK +curl "https://YOUR.FULL.DYNATRACE.ONEAGENT.DOWNLOADLINK" >> Dynatrace-OneAgent-Linux.sh sudo /bin/sh Dynatrace-OneAgent-Linux.sh APP_LOG_CONTENT_ACCESS=1 INFRA_ONLY=0 ``` 3. Edit the Auto Scaling Group and configure it to use your new EC2 Launch Configuration