#!/bin/sh

VERC="10.0"
VERS="9.4"

mkdir -p netbsd
cd netbsd

# 最新
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-amd64-install.img.gz
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-amd64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-evbarm-aarch64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-i386-install.img.gz
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-i386.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-sparc64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERC}/images/NetBSD-${VERC}-macppc.iso

# LTS
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-amd64-install.img.gz
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-amd64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-evbarm-aarch64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-i386-install.img.gz
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-i386.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-sparc64.iso
odl -p https://cdn.netbsd.org/pub/NetBSD/NetBSD-${VERS}/images/NetBSD-${VERS}-macppc.iso

cd ..
