#!/bin/sh

# ダウンロード
VES="75"
VER="7.5"

mkdir -p openbsd
cd openbsd
odl -po OpenBSD-${VER}-amd64.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/amd64/install${VES}.img
odl -po OpenBSD-${VER}-amd64.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/amd64/install${VES}.iso
odl -po OpenBSD-${VER}-arm64.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/arm64/install${VES}.img
odl -po OpenBSD-${VER}-arm64.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/arm64/install${VES}.iso
odl -po OpenBSD-${VER}-i386.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/i386/install${VES}.img
odl -po OpenBSD-${VER}-i386.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/i386/install${VES}.iso
odl -po OpenBSD-${VER}-powerpc64.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/powerpc64/install${VES}.img
odl -po OpenBSD-${VER}-powerpc64.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/powerpc64/install${VES}.iso
odl -po OpenBSD-${VER}-riscv64.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/riscv64/install${VES}.img
odl -po OpenBSD-${VER}-sparc64.img  https://cdn.openbsd.org/pub/OpenBSD/${VER}/sparc64/install${VES}.img
odl -po OpenBSD-${VER}-sparc64.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/sparc64/install${VES}.iso
odl -po OpenBSD-${VER}-macppc.iso  https://cdn.openbsd.org/pub/OpenBSD/${VER}/macppc/install${VES}.iso
cd ..
