Skip to content

Commit

Permalink
Adding var to userdata execution process as well
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonrw82 committed Jan 12, 2022
1 parent 5c3fe1d commit 2d10ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ async function startEc2Instance(label, githubRegistrationToken) {
'sudo echo "export RUNNER_ALLOW_RUNASROOT=1" >> /etc/profile.d/env.sh',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
'sudo echo "export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1" >> /etc/profile.d/env.sh',
'export DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY=true',
'sudo echo "export DOTNET_SYSTEM_GLOBALIZATION_PREDEFINED_CULTURES_ONLY=true" >> /etc/profile.d/env.sh',
`./config.sh --unattended --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
'./run.sh',
Expand Down

0 comments on commit 2d10ba9

Please sign in to comment.