Add version.txt download on get-coreos

The version.txt file is used by coreos-install if
the version number is "current".
This commit is contained in:
Joao Morais
2017-08-09 22:06:39 -03:00
parent 7def0d7e86
commit fb0ee0f05a

View File

@@ -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