starter-kit/bots/images/scripts/rhel-8-1.bootstrap
2019-08-22 16:08:42 +00:00

10 lines
292 B
Bash
Executable file

#!/bin/bash
set -ex
if [ -z "$SUBSCRIPTION_PATH" ] && [ -e ~/.rhel/login ]; then
SUBSCRIPTION_PATH=~/.rhel
fi
BASE=$(dirname $0)
$BASE/virt-install-fedora "$1" x86_64 "http://download.devel.redhat.com/rhel-8/nightly/RHEL-8/latest-RHEL-8.1/compose/BaseOS/x86_64/os/" $SUBSCRIPTION_PATH