Skip to content

Commit

Permalink
Fix Ubuntu agent init script bug (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Jun 23, 2022
1 parent 34a7187 commit 65404ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compute/agent-nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export class AgentNodes {
remoteUser: 'ubuntu',
numExecutors: 1,
amiId: 'ami-0f6ceb3b3687a3fba',
initScript: 'sudo apt-mark hold docker docker.io openssh-server && docker ps'
+ 'sudo apt-get update -y && sudo apt-get upgrade -y',
initScript: 'sudo apt-mark hold docker docker.io openssh-server && docker ps &&'
+ ' sudo apt-get update -y && sudo apt-get upgrade -y',
};
}
}

0 comments on commit 65404ab

Please sign in to comment.