Skip to content

Commit

Permalink
Set remote_folder on all shell provisioners (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbaladier authored Oct 11, 2023
1 parent 1f04e26 commit a989821
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eks-worker-al2.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
"provisioners": [
{
"type": "shell",
"remote_folder": "{{ user `remote_folder`}}",
"inline": [
"mkdir -p {{user `working_dir`}}",
"mkdir -p {{user `working_dir`}}/log-collector-script"
Expand All @@ -145,6 +146,7 @@
},
{
"type": "shell",
"remote_folder": "{{ user `remote_folder`}}",
"inline": [
"sudo chmod -R a+x {{user `working_dir`}}/bin/",
"sudo mv {{user `working_dir`}}/bin/* /usr/bin/"
Expand Down Expand Up @@ -235,6 +237,7 @@
},
{
"type": "shell",
"remote_folder": "{{ user `remote_folder`}}",
"inline": [
"rm -rf {{user `working_dir`}}"
]
Expand Down

0 comments on commit a989821

Please sign in to comment.