From fb0ee0f05a989b4b43153e7d035cf835247e436f Mon Sep 17 00:00:00 2001 From: Joao Morais Date: Wed, 9 Aug 2017 22:06:39 -0300 Subject: [PATCH] Add version.txt download on get-coreos The version.txt file is used by coreos-install if the version number is "current". --- scripts/get-coreos | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/get-coreos b/scripts/get-coreos index 6cb8d221..160b8552 100755 --- a/scripts/get-coreos +++ b/scripts/get-coreos @@ -42,6 +42,10 @@ echo "CoreOS Image Signing Key" curl -# https://coreos.com/security/image-signing-key/CoreOS_Image_Signing_Key.asc -o $DEST/CoreOS_Image_Signing_Key.asc $GPG --import < "$DEST/CoreOS_Image_Signing_Key.asc" || true +# Version +echo "version.txt" +curl -# $BASE_URL/version.txt -o $DEST/version.txt + # PXE kernel and sig echo "coreos_production_pxe.vmlinuz..." curl -# $BASE_URL/coreos_production_pxe.vmlinuz -o $DEST/coreos_production_pxe.vmlinuz