starter-kit/bots/images/scripts/rhel-7-7.bootstrap
2019-08-22 16:05:13 +00:00

10 lines
280 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.eng.bos.redhat.com/nightly/latest-RHEL-7.7/compose/Server/x86_64/os/" $SUBSCRIPTION_PATH