mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 14:31:46 +01:00
updates: use HTTPS for fetching update payloads
This commit is contained in:
parent
7231b95af1
commit
d4c1c0b867
@ -50,7 +50,7 @@ switch_to_strict_mode
|
|||||||
FLAGS_storage="${FLAGS_storage%%/}"
|
FLAGS_storage="${FLAGS_storage%%/}"
|
||||||
|
|
||||||
GS_URL="${FLAGS_storage}/${FLAGS_board}/${FLAGS_version}/update.gz"
|
GS_URL="${FLAGS_storage}/${FLAGS_board}/${FLAGS_version}/update.gz"
|
||||||
HTTP_URL="http://${GS_URL#gs://}"
|
HTTP_URL="https://commondatastorage.googleapis.com/${GS_URL#gs://}"
|
||||||
gsutil cp "${FLAGS_payload}" "${GS_URL}"
|
gsutil cp "${FLAGS_payload}" "${GS_URL}"
|
||||||
|
|
||||||
rollerctl \
|
rollerctl \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user