mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #597 from crawford/download
offline_signing: add support for different boards
This commit is contained in:
commit
f8e0e7c618
@ -61,4 +61,4 @@ updateservicectl \
|
||||
--app-id="${FLAGS_app_id}" \
|
||||
--file="${FLAGS_payload}" \
|
||||
--url="${HTTP_URL}" \
|
||||
--version="${FLAGS_version}"
|
||||
--version="${FLAGS_version}"
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
VERSION="$1"
|
||||
GS="gs://builds.release.core-os.net/stable/boards/amd64-usr/$VERSION"
|
||||
BOARD="$1"
|
||||
VERSION="$2"
|
||||
GS="gs://builds.release.core-os.net/stable/boards/$BOARD/$VERSION"
|
||||
|
||||
cd "${2:-.}"
|
||||
cd "${3:-.}"
|
||||
|
||||
gsutil cp \
|
||||
"${GS}/coreos_production_image.vmlinuz" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user