#!/bin/bash set -ex if [ -z "$SUBSCRIPTION_PATH" ] && [ -e ~/.rhel/login ]; then SUBSCRIPTION_PATH=~/.rhel fi BASE=$(dirname $0) # last URL for 8.0.0, later nightlies are for z-stream and have no images $BASE/virt-install-fedora "$1" x86_64 "http://download.devel.redhat.com/rhel-8/rel-eng/RHEL-8/latest-RHEL-8.0/compose/BaseOS/x86_64/os/" $SUBSCRIPTION_PATH