Skip to content

Commit 9b59b32

Browse files
authored
Merge pull request #70 from chlawren/agent-install-flags
updated the agent_install.sh file sed statement for installation flag…
2 parents 3f10171 + aaf6600 commit 9b59b32

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tasks/agent_install.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"install_flags": {
99
"type": "Array[String]",
10-
"description": "Positional arguments to pass to the shell installer"
10+
"description": "Positional arguments to pass to the shell installer",
11+
"default": []
1112
}
1213
},
1314
"input_method": "environment",

tasks/agent_install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
set -e
44

5-
flags=$(echo $PT_install_flags | sed -e 's/^\["//' -e 's/\"]$//' -e 's/", *"/ /g')
5+
flags=$(echo $PT_install_flags | sed -e 's/^\["*//' -e 's/"*\]$//' -e 's/", *"/ /g')
66

77
curl -k "https://${PT_server}:8140/packages/current/install.bash" | bash -s -- $flags

0 commit comments

Comments
 (0)