#!/bin/bash

# to use this script, from its parent dir, run: ./versions/<script>.sh <target>
# you'll want to edit the below bash variables to match your use cases :)
# eg: ./versions/fedora-23.sh upload
# to make your own base image and upload it to your own server somewhere.

VERSION='fedora-23'		# pick from the output of virt-builder -l
POSTFIX=''
SIZE='40'			# disk size of image
SERVER=''	# connect over ssh (add your public key first)
REMOTE_PATH=''	# make a $VERSION directory in this dir
KEYS='puppetlabs'
REPOS='f20-puppet'	# XXX: puppetlabs doesn't have an f23 repo yet...
DOCKER=''
PACKAGES='sudo vim-enhanced git wget file man tree nmap tcpdump htop lsof telnet mlocate bind-utils koan iftop yum-utils nmap-ncat psmisc bash-completion moreutils'	# list of extra packages to include
make VERSION=$VERSION POSTFIX=$POSTFIX SIZE=$SIZE SERVER=$SERVER REMOTE_PATH=$REMOTE_PATH KEYS="$KEYS" REPOS="$REPOS" DOCKER="$DOCKER" PACKAGES="$PACKAGES" $@

Add an F23 versions file
Add an F23 versions file

This might actually not build due to:
https://bugzilla.redhat.com/show_bug.cgi?id=1278382 however, we'll
include the script anyways for when it gets fixed.
