Skip to content

Commit 3951baf

Browse files
Release 1.0.1
1 parent 071e983 commit 3951baf

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

proxy.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
set -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+
1923
print_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
}]

0 commit comments

Comments
 (0)