mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-01 18:58:39 +00:00
migrate download commands into bash script and update doc
This commit is contained in:
16
oracle/scripts/download
Executable file
16
oracle/scripts/download
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
dest="./images"
|
||||
version="1.5.5"
|
||||
url=https://github.com/siderolabs/talos/releases/download/v${version}/
|
||||
|
||||
for arch in amd64 arm64
|
||||
do
|
||||
file=oracle-${arch}.qcow2.xz
|
||||
|
||||
echo "Downloading ${file} to ${dest}/${file}"
|
||||
curl -L ${url}/${file} -o ${dest}/${file}
|
||||
echo "Extracting: ${dest}/${file}"
|
||||
xz -df ${dest}/${file}
|
||||
echo
|
||||
done
|
||||
Reference in New Issue
Block a user