File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717set -Eeuo pipefail
1818
19+ declare -r \
20+ osproxy_url=' https://github.com/shiftstack/os-proxy/releases/download/v1.0.1/os-proxy' \
21+ osproxy_sha512=' d4a9210091e4d1ed4c697762ac5ed59625c97dbdf3ce58cc4bbd7f3821190f482e2464558fbd08ea737744a7cc496e9b6db4381c3941b8fb1c864d1bec35113f'
22+
1923print_help () {
2024 echo -e " github.com/shiftstack/os-proxy"
2125 echo -e " Proxy calls to the OpenStack API"
@@ -136,9 +140,9 @@ cat > "$ignition" <<EOF
136140 "path": "/usr/local/bin/os-proxy",
137141 "mode": 493,
138142 "contents": {
139- "source": "https://github.com/shiftstack/os-proxy/releases/download/v1.0/os-proxy ",
143+ "source": "${osproxy_url} ",
140144 "verification": {
141- "hash": "sha512-c4129fa9a5a98bd6d87d3bde0ce8e23212816439f358338b44b99327ffeb5e1373f6590af9b6eee4351eb7fe3554dd72476e484a846a324a0aa7e99d942350a7 "
145+ "hash": "sha512-${osproxy_sha512} "
142146 }
143147 }
144148 }]
You can’t perform that action at this time.
0 commit comments