#!/bin/sh

STA="151050"
LTS="151046an"

mkdir -p omnios
cd omnios

# 最新
odl -p https://downloads.omnios.org/media/stable/omnios-r${STA}.iso
odl -p https://downloads.omnios.org/media/stable/omnios-r${STA}.usb-dd

# LTS
odl -p https://downloads.omnios.org/media/lts/omnios-r${LTS}.iso
odl -p https://downloads.omnios.org/media/lts/omnios-r${LTS}.usb-dd

cd ..
